1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-16 03:24:01 +02:00

MySQL: Display warnings in SQL command

This commit is contained in:
Jakub Vrana
2018-01-31 17:28:12 +01:00
parent 2fb2d208c0
commit 2adc174541
8 changed files with 71 additions and 39 deletions

View File

@@ -276,6 +276,10 @@ if (!defined("DRIVER")) {
}
return queries($prefix . implode(",\n", $values) . $suffix);
}
function warnings() {
return $this->_conn->query("SHOW WARNINGS");
}
}