mirror of
https://github.com/vrana/adminer.git
synced 2025-08-18 20:31:19 +02:00
Generalize transactions
This commit is contained in:
@@ -60,4 +60,19 @@
|
||||
return false;
|
||||
}
|
||||
|
||||
/** Begin transaction
|
||||
* @return bool
|
||||
*/
|
||||
function begin() {
|
||||
return queries("BEGIN");
|
||||
}
|
||||
|
||||
function commit() {
|
||||
return queries("COMMIT");
|
||||
}
|
||||
|
||||
function rollback() {
|
||||
return queries("ROLLBACK");
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user