Lines Matching refs:file
13 set testdir [file dirname $argv0]
27 # The tests in this file check that the following two bugs (both now fixed)
34 # * There is a persistent journal in the file-system, AND
35 # * there exists a connection with a shared lock on the db file,
40 # database file. If this fails because another connection has a shared
46 # unix file descriptor on the database file is opened in O_RDONLY mode.
48 # When SQLite queries the database file for the schema in order to compile
49 # the SELECT statement, it sees the empty journal in the file system, it
50 # attempts to obtain an exclusive lock on the database file (this is a
51 # bug). The attempt to obtain an exclusive (write) lock on a read-only file
52 # fails at the OS level. Under unix, fcntl() reports an EBADF - "Bad file
65 file exists test.db-journal
85 file exists test.db-journal
106 file exists test.db-journal
110 file size test.db-journal