@ -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);