mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-17 21:26:00 +00:00
sqlite sync query
This commit is contained in:
13
patches/sql-query-identifier+2.1.0.patch
Normal file
13
patches/sql-query-identifier+2.1.0.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git a/node_modules/sql-query-identifier/lib/tokenizer.js b/node_modules/sql-query-identifier/lib/tokenizer.js
|
||||
index f8980fe..bb03059 100644
|
||||
--- a/node_modules/sql-query-identifier/lib/tokenizer.js
|
||||
+++ b/node_modules/sql-query-identifier/lib/tokenizer.js
|
||||
@@ -249,7 +249,7 @@ function skipWord(state, value) {
|
||||
};
|
||||
}
|
||||
function isWhitespace(ch) {
|
||||
- return ch === ' ' || ch === '\t' || ch === '\n';
|
||||
+ return ch === ' ' || ch === '\t' || ch === '\n' || ch == '\r';
|
||||
}
|
||||
function isString(ch, dialect) {
|
||||
const stringStart = dialect === 'mysql' ? ["'", '"'] : ["'"];
|
||||
Reference in New Issue
Block a user