From b7b40b5bd97ca13e765f96757b4629f84ca9a06f Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Sun, 24 Oct 2010 00:45:12 +0200 Subject: [PATCH] Link to bookmark SQL command --- adminer/sql.inc.php | 2 +- changes.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/adminer/sql.inc.php b/adminer/sql.inc.php index 24c07872..5e1a0cd0 100644 --- a/adminer/sql.inc.php +++ b/adminer/sql.inc.php @@ -92,7 +92,7 @@ if (!$error && $_POST) { do { $result = $connection->store_result(); $end = explode(" ", microtime()); - $time = " (" . lang('%.3f s', max(0, $end[0] - $start[0] + $end[1] - $start[1])) . ")"; + $time = " (" . lang('%.3f s', max(0, $end[0] - $start[0] + $end[1] - $start[1])) . ")" . (strlen($q) < 1000 ? " " . lang('Edit') . "" : ""); // 1000 - maximum length of encoded URL in IE is 2083 characters if (!is_object($result)) { if (preg_match("~^$space*(CREATE|DROP|ALTER)$space+(DATABASE|SCHEMA)\\b~isU", $q)) { restart_session(); diff --git a/changes.txt b/changes.txt index bbd8541f..4cb4f24e 100644 --- a/changes.txt +++ b/changes.txt @@ -3,6 +3,7 @@ Option to show only errors in SQL command Highlight and edit SQL command in processlist Disable XSS "protection" of IE8 Timestamp in export +Link to bookmark SQL command Immunity against zend.ze1_compatibility_mode Fix last page with empty result set