Permalink
Browse files

Backport PowerDNS#6844

  • Loading branch information...
pieterlexis committed Aug 21, 2018
2 parents 7f97d9e + e8b4865 commit 0ed520d0eec2e1fe515f260e76472887bf1fb962
Showing with 6 additions and 0 deletions.
  1. +6 −0 modules/gmysqlbackend/smysql.cc
@@ -32,6 +32,12 @@
#include "pdns/namespaces.hh"
#include "pdns/lock.hh"
#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
bool SMySQL::s_dolog;
pthread_mutex_t SMySQL::s_myinitlock = PTHREAD_MUTEX_INITIALIZER;

0 comments on commit 0ed520d

Please sign in to comment.