Fix #12455: Query history stores separate entry for every letter typed
Don't store history when linting, rather store it only when user has submitted the query. Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
This commit is contained in:
parent
f54f8fa322
commit
fdc80a2fd9
1
js/codemirror/addon/lint/sql-lint.js
vendored
1
js/codemirror/addon/lint/sql-lint.js
vendored
@ -33,6 +33,7 @@ CodeMirror.sqlLint = function(text, updateLinting, options, cm) {
|
||||
token: PMA_commonParams.get('token'),
|
||||
server: PMA_commonParams.get('server'),
|
||||
options: options.lintOptions,
|
||||
no_history: true,
|
||||
},
|
||||
success: handleResponse
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user