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

Remove dead code from the lemon-generated parser. Better testing

of the sqlite3_file_control() interface, and in particular make sure
the interface works on :memory: databases. (CVS 4738)

FossilOrigin-Name: 83ca4fc7dc18d6deca58fe4181905eb9754e03da
This commit is contained in:
drh
2008-01-22 14:50:16 +00:00
parent bf2609781b
commit 5517625960
9 changed files with 113 additions and 52 deletions

31
test/filectrl.test Normal file
View File

@ -0,0 +1,31 @@
# 2008 Jan 22
#
# The author disclaims copyright to this source code. In place of
# a legal notice, here is a blessing:
#
# May you do good and not evil.
# May you find forgiveness for yourself and forgive others.
# May you share freely, never taking more than you give.
#
#***********************************************************************
#
# $Id: filectrl.test,v 1.1 2008/01/22 14:50:17 drh Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
do_test filectrl-1.1 {
file_control_test db
} {}
do_test filectrl-1.2 {
db eval {CREATE TEMP TABLE x(y);}
file_control_test db
} {}
do_test filectrl-1.3 {
db close
sqlite3 db :memory:
file_control_test db
} {}
finish_test