Fix compilation of mysql db backend against MariaDB

MariaDB's connector-c by default provides mariadb_version.h instead of
mysql_version.h header, However, it's inderectly included through
mysql.h in both implementation: mariadb and mysql, so remove it's direct
inclussion from the source.

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 9c1eb0dc5e)
r14.0.x
Alexander Golubev 3 years ago committed by Slávek Banko
parent fed96eaf87
commit 65c2de396c
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -76,7 +76,6 @@
#ifdef USE_MYSQL
#include <mysql.h>
#include <mysql_version.h>
#endif
#ifdef USE_POSTGRESQL

Loading…
Cancel
Save