mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-26 08:03:51 +02:00
test
This commit is contained in:
@@ -35,10 +35,13 @@ function dbQuery($sql, $parameters = array()) {
|
||||
*/
|
||||
|
||||
$result = mysql_query($fullSql); // sets $this->result
|
||||
if (!empty(mysql_error())) {
|
||||
if (mysql_error()) {
|
||||
echo("\nSQL[".$fullSql."] ");
|
||||
print mysql_error();
|
||||
}
|
||||
if(mysql_error()) {
|
||||
file_put_contents('/tmp/mysql_strict.log',date("Y-m-d H:i:s").','.$fullSql.','.mysql_error()."\n",FILE_APPEND);
|
||||
}
|
||||
/*
|
||||
if($this->logFile) {
|
||||
$time_end = microtime(true);
|
||||
|
||||
Reference in New Issue
Block a user