mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Fix auto-column bug noted by post https://sqlite.org/forum/forumpost/d102c15d63
FossilOrigin-Name: 689137e1b5bc78b0f16e5db86d16415b9fa77d22ded59e93d75e7033b465e673
This commit is contained in:
16
test/shell5.test
Normal file → Executable file
16
test/shell5.test
Normal file → Executable file
@ -499,4 +499,20 @@ SELECT * FROM t1;}
|
||||
z_6 = zee6
|
||||
Columns renamed during .import shell5.csv due to duplicates.}}
|
||||
|
||||
do_test shell5-5.1 {
|
||||
set out [open shell5.csv w]
|
||||
fconfigure $out -translation lf
|
||||
puts $out {"COW","cow","CoW","cOw"}
|
||||
puts $out {"uuu","lll","ulu","lul"}
|
||||
close $out
|
||||
forcedelete test.db
|
||||
catchcmd test.db {.import -csv shell5.csv t1
|
||||
.mode line
|
||||
SELECT * FROM t1;}
|
||||
} {1 {COW_1 = uuu
|
||||
cow_2 = lll
|
||||
CoW_3 = ulu
|
||||
cOw_4 = lul
|
||||
Columns renamed during .import shell5.csv due to duplicates.}}
|
||||
|
||||
finish_test
|
||||
|
Reference in New Issue
Block a user