From: Jakub Vrana Date: Sun, 13 May 2012 22:26:42 +0000 (-0700) Subject: Initialize variable used in textarea highlighting X-Git-Tag: v3.4.0~41 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=20e11be093c9e519086fb0d0b3e0dd33a89c1772;p=adminer.git Initialize variable used in textarea highlighting --- diff --git a/adminer/sql.inc.php b/adminer/sql.inc.php index fcb07785..9272e01c 100644 --- a/adminer/sql.inc.php +++ b/adminer/sql.inc.php @@ -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(), "", ""); @@ -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(); diff --git a/changes.txt b/changes.txt index 0d5a23ce..36e39a97 100644 --- a/changes.txt +++ b/changes.txt @@ -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