Update mysql.php

This commit is contained in:
Roman Kelesidis 2024-01-11 00:33:54 +07:00
parent cf11a31ab2
commit 8a3c93482e

View File

@ -729,10 +729,7 @@ class sql_db
} }
} }
if (!defined('IN_FIRST_SLOW_QUERY')) @define('IN_FIRST_SLOW_QUERY', true);
{
define('IN_FIRST_SLOW_QUERY', true);
}
CACHE('bb_cache')->set('dont_log_slow_query', $new_priority, $ignoring_time); CACHE('bb_cache')->set('dont_log_slow_query', $new_priority, $ignoring_time);
} }