New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workaround MariaDB pretending to be MySQL #6844

Merged
merged 1 commit into from Aug 14, 2018
Jump to file or symbol
Failed to load files and symbols.
+2 −1
Diff settings

Always

Just for now

@@ -32,8 +32,9 @@
#include "pdns/namespaces.hh"
#include "pdns/lock.hh"
#if MYSQL_VERSION_ID >= 80000
#if MYSQL_VERSION_ID >= 80000 && !defined(MARIADB_BASE_VERSION)
// Need to keep this for compatibility with MySQL < 8.0.0, which used typedef char my_bool;
// MariaDB up to 10.4 also always define it.
typedef bool my_bool;
#endif
ProTip! Use n and p to navigate between commits in a pull request.