of "START TRANSACTION", after the patch changes are applied.
Fixed it.
Diff with the previous pushed patch:
diff --git a/test/sql-tap/start-transaction.test.lua b/test/sql-tap/start-transaction.test.lua
index eece4cd..98ca531 100755
--- a/test/sql-tap/start-transaction.test.lua
+++ b/test/sql-tap/start-transaction.test.lua
@@ -30,8 +30,8 @@ test:do_execsql_test(
test:do_catchsql_test(
"start-transaction-1.2",
[[
- CREATE TABLE IF NOT EXISTS t(id int primary key);
- delete from t;
+ CREATE TABLE IF NOT EXISTS t(id INT PRIMARY KEY);
+ DELETE FROM t;
BEGIN TRANSACTION;
INSERT INTO t VALUES (1);
INSERT INTO t VALUES (2);
@@ -256,7 +256,7 @@ test:do_execsql_test(
test:do_execsql_test(
"start-transaction-1.20",
[[
- drop table t;
+ DROP TABLE t;
]], {
-- <start0transaction-1.20>
diff --git a/test/sql/tokenizer.result b/test/sql/tokenizer.result
index 7c0ca8f..95063b5 100644
--- a/test/sql/tokenizer.result
+++ b/test/sql/tokenizer.result
@@ -102,9 +102,9 @@ sql_tokenizer.split_sql('select 1; -- test comment\n; select 2;')
- - select 1;
- ' select 2;'
...
-sql_tokenizer.split_sql("start transaction; insert into table values ('example kek--'); commit;")
+sql_tokenizer.split_sql("START TRANSACTION; insert into table values ('example kek--'); commit;")
---
-- - start transaction;
+- - START TRANSACTION;
- ' insert into table values (''example kek--'');'
- ' commit;'
...
diff --git a/test/sql/tokenizer.test.lua b/test/sql/tokenizer.test.lua
index 5c1cadc..4a4e289 100644
--- a/test/sql/tokenizer.test.lua
+++ b/test/sql/tokenizer.test.lua
@@ -32,7 +32,7 @@ test_run:cmd("setopt delimiter ''");
sql_tokenizer.split_sql('select 1; -- test comment\n; select 2;')
-sql_tokenizer.split_sql("start transaction; insert into table values ('example kek--'); commit;")
+sql_tokenizer.split_sql("START TRANSACTION; insert into table values ('example kek--'); commit;")
sql_tokenizer.split_sql("insert into quoted(a) value 'lalala'")