--- a/contrib/dlz/drivers/dlz_mysql_driver.c 2020-03-19 17:54:19.837892981 +0100 +++ b/contrib/dlz/drivers/dlz_mysql_driver.c 2020-03-19 17:54:40.981261391 +0100 @@ -759,6 +759,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 /* if MYSQL_VERSION_ID >= 50000 */