From: drh <> Date: Thu, 1 May 2025 18:07:27 +0000 (+0000) Subject: Enhance sqlite3_rsync so that, by default, it will sync non-WAL-mode X-Git-Tag: major-release~47 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2bd983a97498a19b710d95bb1a26d54f90223b10;p=thirdparty%2Fsqlite.git Enhance sqlite3_rsync so that, by default, it will sync non-WAL-mode database files. Add a new command-line option --wal-only that restricts the sync to WAL-mode databases only (the former default). Improve command-line option parsing so that only a single "-" is required before each option. FossilOrigin-Name: 4b53603fe468c0c28b818762917e41bdd870de6d4cc143688f1cdea3136c81a4 --- 2bd983a97498a19b710d95bb1a26d54f90223b10 diff --cc manifest index d5ac399b08,70e3a50cf1..562708e456 --- a/manifest +++ b/manifest @@@ -1,5 -1,5 +1,5 @@@ - C Fix\sa\sharmless\sproblem\sin\sthe\sCLI\sin\swhich\sSQL\serrors\sthat\soccur\sduring\nthe\s".schema"\scommand\sare\sproperly\signored,\syes\sstill\sappear\sin\sthe\s".log"\noutput.\s[forum:/forumpost/42fe6520b803be51|Forum\spost\s42fe6520b8] - D 2025-04-30T14:37:00.121 -C Allow\ssqlite3_rsync\sto\swork\son\snon-WAL-mode\sdatabases,\sas\slong\sas\sthe\n--wal-only\sflag\sis\snot\sused. -D 2025-05-01T16:07:52.716 ++C Enhance\ssqlite3_rsync\sso\sthat,\sby\sdefault,\sit\swill\ssync\snon-WAL-mode\ndatabase\sfiles.\s\sAdd\sa\snew\scommand-line\soption\s--wal-only\sthat\srestricts\nthe\ssync\sto\sWAL-mode\sdatabases\sonly\s(the\sformer\sdefault).\s\sImprove\ncommand-line\soption\sparsing\sso\sthat\sonly\sa\ssingle\s"-"\sis\srequired\sbefore\neach\soption. ++D 2025-05-01T18:07:27.165 F .fossil-settings/binary-glob 61195414528fb3ea9693577e1980230d78a1f8b0a54c78cf1b9b24d0a409ed6a x F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1 F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea @@@ -2207,8 -2207,12 +2207,9 @@@ F tool/version-info.c 3b36468a90faf1bbd F tool/warnings-clang.sh bbf6a1e685e534c92ec2bfba5b1745f34fb6f0bc2a362850723a9ee87c1b31a7 F tool/warnings.sh 49a486c5069de041aedcbde4de178293e0463ae9918ecad7539eedf0ec77a139 F tool/win/sqlite.vsix deb315d026cc8400325c5863eef847784a219a2f - P cdef486e212fe4b26605065d9cff08f608cb80df48ee64e4be63637769bdfacc - R ff4dbf6198636e450976250aaa2d8234 -P 20abf1ec107f942e4527901685d61283c9c2fe7bcefad63dbf5c6cbf050da849 -Q +9f88f73ce39e761810110dc158ec0e5a84401a80b247a5395a906a6a538d5fec ++P 20abf1ec107f942e4527901685d61283c9c2fe7bcefad63dbf5c6cbf050da849 e4126dcd1eba4f040a7c07102d34692287b74b41a3437a3b9d15c4f8c9d4e6fd + R eaf25ba59d2c9244d7aeaa66e676c510 -T *branch * rsync-non-wal-mode -T *sym-rsync-non-wal-mode * -T -sym-trunk * ++T +closed e4126dcd1eba4f040a7c07102d34692287b74b41a3437a3b9d15c4f8c9d4e6fd U drh - Z 88680290faafcb12b4513cbfd1fe3d4f -Z db3c00b4ead05d580221bc820eec3ab1 ++Z 308dcdc3a40ce25db24c1b710b31692f # Remove this line to create a well-formed Fossil manifest. diff --cc manifest.uuid index 3d3fb0bd6f,c2fd98b0c9..ccb7909e8e --- a/manifest.uuid +++ b/manifest.uuid @@@ -1,1 -1,1 +1,1 @@@ - 20abf1ec107f942e4527901685d61283c9c2fe7bcefad63dbf5c6cbf050da849 -e4126dcd1eba4f040a7c07102d34692287b74b41a3437a3b9d15c4f8c9d4e6fd ++4b53603fe468c0c28b818762917e41bdd870de6d4cc143688f1cdea3136c81a4