Created attachment 967913 [details] Bug fix. Description of problem: The ODBC version of the mysql connector is completely broken. This has already been reported to Oracle: http://bugs.mysql.com/bug.php?id=75196 Typically, it takes them about a year, to fix things like this. Attaching a patch that fixes the bug to me.
(In reply to Sam Varshavchik from comment #0) > Created attachment 967913 [details] > Bug fix. > > Description of problem: > > The ODBC version of the mysql connector is completely broken. > > This has already been reported to Oracle: > > http://bugs.mysql.com/bug.php?id=75196 > > Typically, it takes them about a year, to fix things like this. > > Attaching a patch that fixes the bug to me. Wow, thank you very much, Sam! mysql-connector-odbc now works with mariadb10 without crash! Thanks a lot!
mysql-connector-odbc-5.3.2-3.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/mysql-connector-odbc-5.3.2-3.fc21
mysql-connector-odbc-5.3.4-2.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/mysql-connector-odbc-5.3.4-2.fc22
The patch is wrong. It's not just the null check, free() must be used instead of x_free(). The pointer is allocated with malloc(), and must be disposed of with free(), not x_free(), as my patch does.
mysql-connector-odbc-5.3.4-3.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/mysql-connector-odbc-5.3.4-3.fc22
mysql-connector-odbc-5.3.2-4.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/mysql-connector-odbc-5.3.2-4.fc21
Package mysql-connector-odbc-5.3.2-4.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing mysql-connector-odbc-5.3.2-4.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-9763/mysql-connector-odbc-5.3.2-4.fc21 then log in and leave karma (feedback).
mysql-connector-odbc-5.3.4-3.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
mysql-connector-odbc-5.3.2-4.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.