1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-14 10:34: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

@@ -99,12 +99,25 @@
return queries("BEGIN");
}
/** Commit transaction
* @return bool
*/
function commit() {
return queries("COMMIT");
}
/** Rollback transaction
* @return bool
*/
function rollback() {
return queries("ROLLBACK");
}
/** Get warnings about the last command
* @return resource or false
*/
function warnings() {
return false;
}
}