Because we have both MySQL client and MariaDB client on common include path (MySQL going first) during Windows build, we cannot use
#include <mysql.h>
in MariaDB driver as it will pick up header file from MySQL client. So we creat simple header file called mariadb.h and place it besides mysql.h from MariaDB client:
Best regards,
Victor
#include <mysql.h>
in MariaDB driver as it will pick up header file from MySQL client. So we creat simple header file called mariadb.h and place it besides mysql.h from MariaDB client:
Code Select
#include "mysql.h"
#include "errmsg.h"
Best regards,
Victor