]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Fix for ticket #62: Do not report an SQLITE_READONLY error until the application
authordrh <drh@noemail.net>
Thu, 6 Jun 2002 23:16:05 +0000 (23:16 +0000)
committerdrh <drh@noemail.net>
Thu, 6 Jun 2002 23:16:05 +0000 (23:16 +0000)
commit5df72a5ad65ff1e4325230bc0baee91e2b7958f2
tree3d6eb716b519e092c532dd34080fe53cbd7e885e
parent34e33bb83545220a2d2bcb13cb06356f0daf7299
Fix for ticket #62: Do not report an SQLITE_READONLY error until the application
actually tries to write data into a readonly file.  It is OK to start a
transaction on a read-only file, and doing so will get you a read lock.  This
change allows TEMP tables to be read/write even though the main database is
readonly. (CVS 607)

FossilOrigin-Name: 9ef795d1d756a404d2123ebc19df1985b19c9888
manifest
manifest.uuid
src/btree.c
src/vdbe.c
test/temptable.test