1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Ensure the database schema has been loaded and the database encoding gleaned before beginning to code a multi-row VALUES clause.

FossilOrigin-Name: 2ff476eb3d1f4a2146f4a48b57895a00a3ff5beb29afa679ae53ea58cac07c76
This commit is contained in:
dan
2024-03-18 11:12:22 +00:00
parent 2f4a8cc2d8
commit 75924d3ae2
4 changed files with 32 additions and 8 deletions

View File

@ -419,6 +419,22 @@ do_catchsql_test 13.1 {
VALUES(300), (zeroblob(300) OVER win);
} {1 {zeroblob() may not be used as a window function}}
#--------------------------------------------------------------------------
reset_db
do_execsql_test 14.1 {
PRAGMA encoding = utf16;
CREATE TABLE t1(a, b);
} {}
db close
sqlite3 db test.db
do_execsql_test 14.2 {
INSERT INTO t1 VALUES
(17, 'craft'),
(16, 'urtlek' IN(1,2,3));
}
finish_test