push: fixed multistatement parse
This commit is contained in:
parent
19e72112ea
commit
f8c5c5eaeb
|
@ -490,7 +490,7 @@ class Push {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const len = i - stmtStart - delimiter.length;
|
const len = i - stmtStart;
|
||||||
const stmt = sql.substr(stmtStart, len);
|
const stmt = sql.substr(stmtStart, len);
|
||||||
|
|
||||||
if (!/^\s*$/.test(stmt))
|
if (!/^\s*$/.test(stmt))
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "myvc",
|
"name": "myvc",
|
||||||
"version": "1.3.11",
|
"version": "1.3.12",
|
||||||
"author": "Verdnatura Levante SL",
|
"author": "Verdnatura Levante SL",
|
||||||
"description": "MySQL Version Control",
|
"description": "MySQL Version Control",
|
||||||
"license": "GPL-3.0",
|
"license": "GPL-3.0",
|
||||||
|
|
Loading…
Reference in New Issue