]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Update the header comment on the memjournal.c file. No code changes.
authordrh <drh@noemail.net>
Tue, 12 Apr 2016 11:58:18 +0000 (11:58 +0000)
committerdrh <drh@noemail.net>
Tue, 12 Apr 2016 11:58:18 +0000 (11:58 +0000)
FossilOrigin-Name: 07f10deabb0f4207408142541e3913d638dfcdeb

manifest
manifest.uuid
src/memjournal.c

index 1b9939804fd36890cb03f4f78f23e6effc48c2d5..e35b915d1855983474d0f99e19eb659ea5745022 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Performance\soptimization\sthe\sVdbe\sallocator.
-D 2016-04-12T00:26:59.031
+C Update\sthe\sheader\scomment\son\sthe\smemjournal.c\sfile.\s\sNo\scode\schanges.
+D 2016-04-12T11:58:18.868
 F Makefile.in eba680121821b8a60940a81454316f47a341487a
 F Makefile.linux-gcc 7bc79876b875010e8c8f9502eb935ca92aa3c434
 F Makefile.msc 71b8b16cf9393f68e2e2035486ca104872558836
@@ -347,7 +347,7 @@ F src/mem1.c 6919bcf12f221868ea066eec27e579fed95ce98b
 F src/mem2.c f1940d9e91948dd6a908fbb9ce3835c36b5d83c3
 F src/mem3.c 8768ac94694f31ffaf8b4d0ea5dc08af7010a35a
 F src/mem5.c 9bf955937b07f8c32541c8a9991f33ce3173d944
-F src/memjournal.c 2815ef7684671d93a1ec6a31e1e63c45de4b4d31
+F src/memjournal.c 95752936c11dc6995672d1dd783cd633eea0cc95
 F src/msvc.h d9ba56c6851227ab44b3f228a35f3f5772296495
 F src/mutex.c 8e45800ee78e0cd1f1f3fe8e398853307f4a085c
 F src/mutex.h 779d588e3b7756ec3ecf7d78cde1d84aba414f85
@@ -1482,7 +1482,7 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93
 F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
 F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
 F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
-P aec94b6ee68fe50e2cc14388281e2ef531e21d68
-R 253cd694af93304b2692f192acabe757
+P e2c4995bf1099cc02bcb1dc4a4631f06a870d171
+R 2e4cf3acc4cd7fa1ae0c658360dca721
 U drh
-Z 22234bdd82888c7db3f11967733fa3c5
+Z ca7267cbdba15c8e817fe9239b1f31a1
index eaf9d622d5ea6703b1de505820ac91817b096784..460eaacc67b195d55039c7bb1257456e28e14d42 100644 (file)
@@ -1 +1 @@
-e2c4995bf1099cc02bcb1dc4a4631f06a870d171
\ No newline at end of file
+07f10deabb0f4207408142541e3913d638dfcdeb
\ No newline at end of file
index fbfa7cb802436fb26c17f5d2552472cd166ba8dc..cd8b87d8aaecad6d7aad524298c497aee5045cd0 100644 (file)
 ** This file contains code use to implement an in-memory rollback journal.
 ** The in-memory rollback journal is used to journal transactions for
 ** ":memory:" databases and when the journal_mode=MEMORY pragma is used.
+**
+** Update:  The in-memory journal is also used to temporarily cache
+** smaller journals that are not critical for power-loss recovery.
+** For example, statement journals that are not too big will be held
+** entirely in memory, thus reducing the number of file I/O calls, and
+** more importantly, reducing temporary file creation events.  If these
+** journals become too large for memory, they are spilled to disk.  But
+** in the common case, they are usually small and no file I/O needs to
+** occur.
 */
 #include "sqliteInt.h"