mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update mysql.php
This commit is contained in:
parent
3dbcfe58ad
commit
731abb923e
@ -778,7 +778,7 @@ class sql_db
|
||||
$this->sql_timetotal += $this->cur_query_time;
|
||||
$this->DBS['sql_timetotal'] += $this->cur_query_time;
|
||||
|
||||
if (SQL_LOG_SLOW_QUERIES && $this->cur_query_time > $this->slow_time)
|
||||
if (SQL_LOG_SLOW_QUERIES && ($this->cur_query_time > $this->slow_time))
|
||||
{
|
||||
$this->log_slow_query();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user