--- a/contrib/dlz/drivers/dlz_mysql_driver.c 2020-03-15 18:47:23.793181642 +0100 +++ b/contrib/dlz/drivers/dlz_mysql_driver.c 2020-03-15 18:49:03.768214653 +0100 @@ -750,6 +750,9 @@ char * endp; int j; unsigned int flags = 0; +#if MYSQL_VERSION_ID >= 80000 + typedef bool my_bool; // Workaround to make library work with MySQL client 8.0 as well as earlier versions +#endif #if MYSQL_VERSION_ID >= 50000 my_bool auto_reconnect = 1; #endif