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:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -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;
|
||||
|
@@ -1,2 +1,2 @@
|
||||
<?php
|
||||
$VERSION = "4.5.1-dev";
|
||||
$VERSION = "4.6.0-dev";
|
||||
|
Reference in New Issue
Block a user