Initialize variable used in textarea highlighting
This commit is contained in:
parent
d6c5f85a24
commit
20e11be093
|
@ -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();
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue