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:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user