1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-18 12:21:24 +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;
}
}

View File

@@ -415,7 +415,7 @@ function get_key_vals($query, $connection2 = null, $timeout = 0, $set_keys = tru
* @param string
* @param Min_DB
* @param string
* @return array associative
* @return array of associative arrays
*/
function get_rows($query, $connection2 = null, $error = "<p class='error'>") {
global $connection;

View File

@@ -1,2 +1,2 @@
<?php
$VERSION = "4.5.1-dev";
$VERSION = "4.6.0-dev";