Add compatibility with mysql 8.0 with conditional compilation

This commit is contained in:
loonycyborg 2019-10-24 13:03:51 +03:00
parent ebe169e327
commit 4379ca3446

View file

@ -25,6 +25,9 @@
#include <boost/scope_exit.hpp>
#include <mysql/mysql.h>
#if defined(MYSQL_VERSION_ID) && MYSQL_VERSION_ID >= 80000
#define my_bool bool
#endif
#include "exceptions.hpp"