]> git.joonet.de Git - adminer.git/commitdiff
Initialize variable used in textarea highlighting
authorJakub Vrana <jakub@vrana.cz>
Sun, 13 May 2012 22:26:42 +0000 (15:26 -0700)
committerJakub Vrana <jakub@vrana.cz>
Sun, 13 May 2012 22:26:42 +0000 (15:26 -0700)
adminer/sql.inc.php
changes.txt

index fcb07785fa4c343dd335fa64cf451fd3cf8188f6..9272e01c97d86471598aaf275002d968bad2b307 100644 (file)
@@ -16,6 +16,7 @@ if (!$error && $_POST["clear"]) {
 
 $codemirror_path = "../externals/CodeMirror2";
 $codemirror_mode = ($jush == "sql" ? "mysql" : "plsql");
+$error_lines = array();
 
 page_header(lang('SQL command'), $error, array(), "", "<link rel='stylesheet' href='$codemirror_path/lib/codemirror.css'>");
 
@@ -54,7 +55,6 @@ if (!$error && $_POST) {
                }
                $commands = 0;
                $errors = array();
-               $error_lines = array();
                $line = 0;
                $parse = '[\'"' . ($jush == "sql" ? '`#' : ($jush == "sqlite" ? '`[' : ($jush == "mssql" ? '[' : ''))) . ']|/\\*|-- |$' . ($jush == "pgsql" ? '|\\$[^$]*\\$' : '');
                $total_start = microtime();
index 0d5a23ce27f0070f39555609145af405dac76a10..36e39a9770a4464b97901a99f04ed0cc0866d7ac 100644 (file)
@@ -3,6 +3,7 @@ Print current time next to executed SQL queries
 Highlight code in SQL command by CodeMirror
 Link to descending order
 Link to original table in EXPLAIN of SELECT * FROM table t
+Oracle: schema, processlist, table overview numbers
 Replace JSMin by better JavaScript minifier
 Don't use AJAX links and forms
 Ukrainian translation