Hi,
I have statically linked libodbc++ library (libodbc++-mt.a) with my C++ application to store/retrieve data from MySQL.
Previously, when I was using libodbc++-0.2.3, database inserts (using preparestatemen t) works well even for strings with morethan 255 characters.
I upgraded to libodbc++-0.2.4pre4 and when I do inserts with morethan 255 characters, the string is truncated to 255 characters and then inserted into the database.
Im using unixODBC 2.2.15pre and libmyodbc v3.51.27.
Am I missing anything. Can anyone help me on this.
I have also tried in libodbc++ mailing list and I didn't get any response.
Regards,
Srini
I have statically linked libodbc++ library (libodbc++-mt.a) with my C++ application to store/retrieve data from MySQL.
Previously, when I was using libodbc++-0.2.3, database inserts (using preparestatemen t) works well even for strings with morethan 255 characters.
I upgraded to libodbc++-0.2.4pre4 and when I do inserts with morethan 255 characters, the string is truncated to 255 characters and then inserted into the database.
Im using unixODBC 2.2.15pre and libmyodbc v3.51.27.
Am I missing anything. Can anyone help me on this.
I have also tried in libodbc++ mailing list and I didn't get any response.
Regards,
Srini