1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00
FossilOrigin-Name: 3aadbe17edc1efc7fa6c9600de84e23242ba7866d2dcef2189afd7ba4c97979f
This commit is contained in:
larrybr
2021-10-28 19:49:23 +00:00
parent 33d28ab4cf
commit 6ac9a5cf5a
4 changed files with 29 additions and 9 deletions

View File

@ -456,4 +456,19 @@ CREATE TABLE t7(a, b, c);
db eval { SELECT * FROM t7 ORDER BY a }
} {1 2 3 4 5 {} 6 7 8}
do_test shell5-4.3 {
forcedelete shell5.csv
set fd [open shell5.csv w]
puts $fd ",,"
puts $fd "1,2,3"
close $fd
catchcmd test.db [string trim {
.mode csv
CREATE TABLE t8(a, b, c);
.import -skip 1 shell5.csv t8
.nullvalue #
}]
db eval { SELECT * FROM t8 }
} {1 2 3}
finish_test