mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 04:16:00 +00:00
SYNC: disable splitting queries with blank lines? #1162
This commit is contained in:
committed by
Diflow
parent
17835832f2
commit
90e4fd7ff5
@@ -279,7 +279,21 @@
|
||||
}
|
||||
}
|
||||
|
||||
$: {
|
||||
splitterOptions;
|
||||
closeQueryParserWorker();
|
||||
}
|
||||
$: watchQueryParserWorker(splitterOptions && $tabVisible);
|
||||
|
||||
function closeQueryParserWorker() {
|
||||
if (queryParserWorker) {
|
||||
if (queryParserWorker != 'fallback') {
|
||||
queryParserWorker.terminate();
|
||||
}
|
||||
queryParserWorker = null;
|
||||
}
|
||||
}
|
||||
|
||||
function watchQueryParserWorker(enabled) {
|
||||
if (enabled) {
|
||||
if (!queryParserWorker) {
|
||||
|
||||
Reference in New Issue
Block a user