The dqlite PREPARE request silently discards SQL tail information when a client sends multiple statements in…
The dqlite PREPARE request silently discards SQL tail information when a client sends multiple statements in…: a task in LegoFlow-SWE (Harbor dataset). When a client sends a PREPARE request containing more than one SQL statement (e.g., "INSERT INTO foo (n) VALUES (1); INSERT INTO foo (n) VALUES…
The task
When a client sends a PREPARE request containing more than one SQL statement (e.g., `"INSERT INTO foo (n) VALUES (1); INSERT INTO foo (n) VALUES (2)"`), `sqlite3_prepare_v2` compiles only the first statement and stores the remainder in its tail output. The current implementation ignores this tail entirely, so the…
Part of Lego-X/LegoFlow-SWE.