Display SQL info
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1271 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
parent
1a8a5fdada
commit
2a897fa301
|
@ -68,6 +68,7 @@ if (extension_loaded("mysqli")) {
|
|||
return false;
|
||||
} elseif ($result === true) {
|
||||
$this->affected_rows = mysql_affected_rows($this->_link);
|
||||
$this->info = mysql_info($this->_link);
|
||||
return true;
|
||||
}
|
||||
return new Min_Result($result);
|
||||
|
|
|
@ -87,7 +87,7 @@ if (!$error && $_POST) {
|
|||
if (preg_match("~^$space*$alter_database", $query)) {
|
||||
$databases = null; // clear cache
|
||||
}
|
||||
echo "<p class='message'>" . lang('Query executed OK, %d row(s) affected.', $connection->affected_rows) . "\n";
|
||||
echo "<p class='message'>" . lang('Query executed OK, %d row(s) affected.', $connection->affected_rows) . "<br>" . h($connection->info) . "\n";
|
||||
}
|
||||
unset($result); // free resultset
|
||||
} while ($connection->next_result());
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
Adminer 2.2.2-dev:
|
||||
Add Delete button to Edit page (regression from 2.0.0)
|
||||
Simplify SQL syntax error message
|
||||
|
||||
Adminer 2.2.1 (released 2009-11-26):
|
||||
Highlight current links
|
||||
|
|
Loading…
Reference in a new issue