From: drh Date: Sat, 7 Dec 2013 16:56:09 +0000 (+0000) Subject: At the start of each write transaction, check to see if the database file has X-Git-Tag: version-3.8.3~126 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=689156fdbc97ac82e796824b777da8601dda1b3e;p=thirdparty%2Fsqlite.git At the start of each write transaction, check to see if the database file has been moved, and if it has refuse to start the transaction, returning an SQLITE_READONLY_DBMOVED error code. FossilOrigin-Name: 369a23e00644f3ff8b6a2d2ed73b8cb65e9f124b --- 689156fdbc97ac82e796824b777da8601dda1b3e diff --cc manifest index 029d04e994,af17b57a3f..9d96e87ef3 --- a/manifest +++ b/manifest @@@ -1,5 -1,5 +1,5 @@@ - C Performance\soptimization\sto\sthe\smoveToRoot()\ssubroutine\sin\sbtree.c. - D 2013-12-06T23:25:27.601 -C Back\sout\sthe\snew\sdevice\scapability.\s\sThe\sdetermination\sof\swhether\sor\snot\sa\nfile\shas\smoved\sis\snow\sdone\sstrictly\susing\sa\sfile-control. -D 2013-12-07T16:45:05.762 ++C At\sthe\sstart\sof\seach\swrite\stransaction,\scheck\sto\ssee\sif\sthe\sdatabase\sfile\shas\nbeen\smoved,\sand\sif\sit\shas\srefuse\sto\sstart\sthe\stransaction,\sreturning\san\nSQLITE_READONLY_DBMOVED\serror\scode. ++D 2013-12-07T16:56:09.769 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f F Makefile.in e1a9b4258bbde53f5636f4e238c65b7e11459e2b F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23 @@@ -1145,7 -1146,7 +1146,8 @@@ F tool/vdbe-compress.tcl f12c884766bd14 F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4 F tool/warnings.sh d1a6de74685f360ab718efda6265994b99bbea01 F tool/win/sqlite.vsix 030f3eeaf2cb811a3692ab9c14d021a75ce41fff - P c5a3a1af3c7bd34886e944a1fef2f6340ded24a0 - R 12065e363c2320b45db52efcb2788f0d -P 2b1884dc14f9a04a04eebb3245fbe0daaff399eb -R 4150eee10eaa0b472e8e9f4c3fd71eac ++P b5842a70f8e26456a8f0d39539bc266f097480a4 9c59f5af7ac4908583fab85d37241f200c40f02d ++R b5502e212abebd79211cbde2351c1e6b ++T +closed 9c59f5af7ac4908583fab85d37241f200c40f02d U drh - Z 6564d15f297e6c8ddf25ac421a3f69fc -Z f90de22ca9080d17b19aebd5c1cb9da5 ++Z aeb423432b55400118887674a2a0ba39 diff --cc manifest.uuid index 5fac78a151,d9c23f55bc..c01ba35b04 --- a/manifest.uuid +++ b/manifest.uuid @@@ -1,1 -1,1 +1,1 @@@ - b5842a70f8e26456a8f0d39539bc266f097480a4 -9c59f5af7ac4908583fab85d37241f200c40f02d ++369a23e00644f3ff8b6a2d2ed73b8cb65e9f124b