Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
emalherbi committed May 3, 2021
1 parent afee96f commit 0ce778e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/MyMysql.php
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,7 @@ private function logger($str, $err = '')
$sql = " SELECT COUNT(*) AS CT
FROM information_schema.COLUMNS
WHERE TABLE_NAME = 'MYMYSQLLOG' ";

$row = $this->fetchRow2($sql);

if (!empty($row) && $row->CT > 0) {
Expand Down

0 comments on commit 0ce778e

Please sign in to comment.