Fix for MySQL 8 client lib support

merge/2021-11-19
kaetemi 3 years ago
parent 996f6c218e
commit 9466258fa8
No known key found for this signature in database
GPG Key ID: 9873C4D40BB479BC

@ -131,7 +131,11 @@ static void cbDatabaseVar(CConfigFile::CVar &var)
return;
}
#if LIBMYSQL_VERSION_ID < 80000
my_bool opt = true;
#else
bool opt = true;
#endif
if (mysql_options (db, MYSQL_OPT_RECONNECT, &opt))
{
mysql_close(db);

Loading…
Cancel
Save