]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Merge the read-only shared memory branch into trunk. After this merge, an
authordrh <drh@noemail.net>
Thu, 2 Jun 2011 13:04:33 +0000 (13:04 +0000)
committerdrh <drh@noemail.net>
Thu, 2 Jun 2011 13:04:33 +0000 (13:04 +0000)
unprivileged process can open WAL-mode databases owned by another user as
long as a database connection with write permission exists on the database
file and if the readonly_shm=1 URI query parameter is supplied.

FossilOrigin-Name: 19084a6641f77a62110b04ea50e298fe132ea784

1  2 
manifest
manifest.uuid

diff --cc manifest
index 9e6489e647ad15369be5319b7d314b3bb8a1767f,b9fd02df1133171c34cf15111ad52420a7575591..f2e67cf931f6f4961645838aa5f635f27f2f1c1a
+++ b/manifest
@@@ -1,5 -1,5 +1,5 @@@
- C Avoid\sunnecessary\sduplication\sof\sSQL\sparameter\snames.
- D 2011-06-01T19:16:06.364
 -C Make\suse\sof\sthe\ssqlite3GetBoolean()\sinterface\sfor\smore\srobust\sprocessing\nof\sthe\sreadonly_shm\squery\sparameter\sinside\sof\sunixShmMap().
 -D 2011-06-01T20:13:36.269
++C Merge\sthe\sread-only\sshared\smemory\sbranch\sinto\strunk.\s\sAfter\sthis\smerge,\san\nunprivileged\sprocess\scan\sopen\sWAL-mode\sdatabases\sowned\sby\sanother\suser\sas\nlong\sas\sa\sdatabase\sconnection\swith\swrite\spermission\sexists\son\sthe\sdatabase\nfile\sand\sif\sthe\sreadonly_shm=1\sURI\squery\sparameter\sis\ssupplied.
++D 2011-06-02T13:04:33.467
  F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
  F Makefile.in 11dcc00a8d0e5202def00e81732784fb0cc4fe1d
  F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
@@@ -938,7 -939,7 +939,7 @@@ F tool/speedtest8.c 2902c46588c40b55661
  F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e
  F tool/split-sqlite3c.tcl d9be87f1c340285a3e081eb19b4a247981ed290c
  F tool/vdbe-compress.tcl d70ea6d8a19e3571d7ab8c9b75cba86d1173ff0f
- P b3aaf715b60b8a338cc6c92dad1ead4a3f7146a3
- R 018490a374b5cf414074a5a4bbd3de70
 -P d6b4709de4d1f8af001f58938247f00a652a616e
++P e704e8690ae35decc9769a45cf8d519ccad8b79d 1f930d7e04cd4a5ff3d91a0e9f1b62114f1cebd2
+ R fdd310892b7cea51b352170f4a152593
  U drh
- Z dcf10ad87997753baf45956f9011da61
 -Z cc8ff93f2b92f997226013b652879169
++Z c21bc600f09ce2bc60c48c66dd9bd252
diff --cc manifest.uuid
index de373954a32e3c3ad2787130138654ad90bb16db,203442f1d4f3ab2e1b026c2112dc74cf4b4e513b..2a33332676e4f3ea56d5faa663b9ffe07f372d6f
@@@ -1,1 -1,1 +1,1 @@@
- e704e8690ae35decc9769a45cf8d519ccad8b79d
 -1f930d7e04cd4a5ff3d91a0e9f1b62114f1cebd2
++19084a6641f77a62110b04ea50e298fe132ea784