From 46375234d7989c72edb3e4702cac9fe112292ddd Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Wed, 27 Sep 2023 23:00:06 +0700 Subject: [PATCH] Update mysql.php --- library/includes/core/mysql.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/library/includes/core/mysql.php b/library/includes/core/mysql.php index cb7e2458..442c72e2 100644 --- a/library/includes/core/mysql.php +++ b/library/includes/core/mysql.php @@ -732,10 +732,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); }