push: fixed multistatement parse

This commit is contained in:
Juan Ferrer 2022-04-20 20:15:02 +02:00
parent 19e72112ea
commit f8c5c5eaeb
2 changed files with 2 additions and 2 deletions

View File

@ -490,7 +490,7 @@ class Push {
}
}
const len = i - stmtStart - delimiter.length;
const len = i - stmtStart;
const stmt = sql.substr(stmtStart, len);
if (!/^\s*$/.test(stmt))

View File

@ -1,6 +1,6 @@
{
"name": "myvc",
"version": "1.3.11",
"version": "1.3.12",
"author": "Verdnatura Levante SL",
"description": "MySQL Version Control",
"license": "GPL-3.0",