Hello,
SQLite until the newest one:
sqlite> VALUES (1),();
Error: no tables specified
should be:
sqlite> VALUES (1),();
Error: near ")": syntax error
Fix:
src/parse.y:
values(A) ::= values(A) COMMA LP exprlist(Y) RP. {
to
values(A) ::= values(A) COMMA LP nexprlist(Y) RP. {
(missing ``n'' before ``exprlist'').
Desired effect is achieved (i.e. error, because that statement is not
preparable), however the message is misleading.
-- best regards
Cezary H. Noweta
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users