mirror of
https://github.com/vrana/adminer.git
synced 2025-08-11 09:04:02 +02:00
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:
@@ -68,6 +68,7 @@ if (extension_loaded("mysqli")) {
|
|||||||
return false;
|
return false;
|
||||||
} elseif ($result === true) {
|
} elseif ($result === true) {
|
||||||
$this->affected_rows = mysql_affected_rows($this->_link);
|
$this->affected_rows = mysql_affected_rows($this->_link);
|
||||||
|
$this->info = mysql_info($this->_link);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return new Min_Result($result);
|
return new Min_Result($result);
|
||||||
|
@@ -87,7 +87,7 @@ if (!$error && $_POST) {
|
|||||||
if (preg_match("~^$space*$alter_database", $query)) {
|
if (preg_match("~^$space*$alter_database", $query)) {
|
||||||
$databases = null; // clear cache
|
$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
|
unset($result); // free resultset
|
||||||
} while ($connection->next_result());
|
} while ($connection->next_result());
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
Adminer 2.2.2-dev:
|
Adminer 2.2.2-dev:
|
||||||
Add Delete button to Edit page (regression from 2.0.0)
|
Add Delete button to Edit page (regression from 2.0.0)
|
||||||
|
Simplify SQL syntax error message
|
||||||
|
|
||||||
Adminer 2.2.1 (released 2009-11-26):
|
Adminer 2.2.1 (released 2009-11-26):
|
||||||
Highlight current links
|
Highlight current links
|
||||||
|
Reference in New Issue
Block a user