mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-27 20:41:58 +03:00
Fix a memory leak following failure to open an external CSV file in the
csv.c extension. FossilOrigin-Name: 526ee07d19dbc8fd1af3a02a8da12b337020a4be40e045da9a19d0a7c2b6ab54
This commit is contained in:
@ -140,5 +140,12 @@ do_catchsql_test 4.2 {
|
||||
);
|
||||
} {1 {vtable constructor failed: t5}}
|
||||
|
||||
# 2018-04-24
|
||||
# Memory leak reported on the sqlite-users mailing list by Ralf Junker.
|
||||
#
|
||||
do_catchsql_test 4.3 {
|
||||
CREATE VIRTUAL TABLE IF NOT EXISTS temp.t1
|
||||
USING csv(filename='FileDoesNotExist.csv');
|
||||
} {1 {cannot open 'FileDoesNotExist.csv' for reading}}
|
||||
|
||||
finish_test
|
||||
|
Reference in New Issue
Block a user