From 598dcc38bef94fc70a428e1f8e51b32910e57165 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Mon, 20 Nov 2023 16:29:12 +0700 Subject: [PATCH] Update init_tr.php --- bt/includes/init_tr.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bt/includes/init_tr.php b/bt/includes/init_tr.php index 6dde33fd..d743cd9a 100644 --- a/bt/includes/init_tr.php +++ b/bt/includes/init_tr.php @@ -420,7 +420,7 @@ class sql_db $msg .= LOG_SEPR . sprintf('%-4s', round(sys('la'), 1)); $msg .= LOG_SEPR . sprintf('%05d', getmypid()); $msg .= LOG_SEPR . $this->db_server; - $msg .= LOG_SEPR . short_query($this->cur_query); + $msg .= LOG_SEPR . str_compact($this->cur_query); $msg .= LOG_SEPR . ($info = $this->query_info()) ? ' # '. $info : ''; $msg .= LOG_SEPR . ' # '. $this->debug_find_source() .' '; bb_log($msg . LOG_LF, 'sql_slow_tr');