Is there compatible ODBC driver with Mariadb 10 on Linux?

让人想犯罪 __ 提交于 2019-12-05 18:44:38

Gentoo seems to have a patch for this:

http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-db/myodbc/files/5.2.7-mariadb-dynamic-array.patch?view=markup

The problem was introduced with the addition of per-thread memory usage statistics ( https://mariadb.atlassian.net/browse/MDEV-4011 ) which required the addition of an additional parameter to the my_init_dynamic_array() macro. This macro isn't defined as part of the public client API, but is exposed in the my_sys.h header file nonetheless and is used by MySQL ODBC, so this change broke the ODBC code when compiled against recent MariaDB versions.

Alternatives are applying above patch, or switching to the MariaDB ODBC driver (which is still in beta though):

https://mariadb.com/kb/en/mariadb/client-libraries/mariadb-odbc-driver/

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!