Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d3af64d

Browse files
committed
Merge remote-tracking branch 'origin/QA_4_7' into QA_4_7
2 parents de7b725 + b853299 commit d3af64d

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

libraries/DatabaseInterface.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,7 @@ public function tryQuery($query, $link = null, $options = 0,
280280
'SQL[' . basename($_SERVER['SCRIPT_NAME']) . ']: '
281281
. sprintf('%0.3f', $time) . ' > ' . $query
282282
);
283+
closelog();
283284
}
284285
}
285286

libraries/Logging.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ public static function logUser($user, $status = 'ok')
3737
'user denied: ' . $user . ' (' . $status . ') from ' .
3838
PMA_getIp()
3939
);
40+
closelog();
4041
}
4142
}
4243
}

0 commit comments

Comments
 (0)