in db_MySQL_Export.cpp the is_null member of all column bindings is explicitly set to false.
The MySQL API defines is_null as a pointer to my_bool and not as a my_bool. While setting the value to false produces working code, it violates strict error checking rules and consequently breaks the build. Experience on Debian Stretch, gcc version 6.2.1 20161124 (Debian 6.2.1-5)
Since the binding array memory is zero initialised using memset, the is_null pointers will be NULL automatically so there is no use in explicitly assigning them.
Attached patch removes all the is_null assignments.
Comments: Duplicate of #160
The MySQL API defines is_null as a pointer to my_bool and not as a my_bool. While setting the value to false produces working code, it violates strict error checking rules and consequently breaks the build. Experience on Debian Stretch, gcc version 6.2.1 20161124 (Debian 6.2.1-5)
Since the binding array memory is zero initialised using memset, the is_null pointers will be NULL automatically so there is no use in explicitly assigning them.
Attached patch removes all the is_null assignments.
Comments: Duplicate of #160