]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Add the ".recover" command to the shell tool. For recovering as much data as possible...
authordan <dan@noemail.net>
Sat, 27 Apr 2019 20:30:19 +0000 (20:30 +0000)
committerdan <dan@noemail.net>
Sat, 27 Apr 2019 20:30:19 +0000 (20:30 +0000)
FossilOrigin-Name: 50fe48458942fa7a6bcc76316c6321f95b23dc34f2f8e0a483826483b2fb16f6

1  2 
manifest
manifest.uuid
tool/mkshellc.tcl

diff --cc manifest
index 1b2109530a46b325e64e8a099d0284caa0467f99,1abc30e6f6b397958009a9e8552421e0684544e9..ffbce1300fe7557bd4996a5c41d4c8aaa48a8509
+++ b/manifest
@@@ -1,5 -1,5 +1,5 @@@
- C Fix\sa\sminor\stypo\sin\sa\scomment.\s\sNo\schanges\sto\scode.
- D 2019-04-27T20:16:42.497
 -C Fix\sbuilding\sthe\sshell\swith\sSQLITE_OMIT_VIRTUAL_TABLE.\sAnd\swithout\sSQLITE_ENABLE_DBPAGE_VTAB.
 -D 2019-04-27T20:15:15.393
++C Add\sthe\s".recover"\scommand\sto\sthe\sshell\stool.\sFor\srecovering\sas\smuch\sdata\sas\spossible\sfrom\scorrupt\sdatabases.
++D 2019-04-27T20:30:19.423
  F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1
  F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea
  F LICENSE.md df5091916dbb40e6e9686186587125e1b2ff51f022cc334e886c19a0e9982724
@@@ -1752,7 -1755,7 +1755,7 @@@ F tool/mkopcodec.tcl d1b6362bd3aa80d552
  F tool/mkopcodeh.tcl 352a4319c0ad869eb26442bf7c3b015aa15594c21f1cce5a6420dbe999367c21
  F tool/mkopts.tcl 680f785fdb09729fd9ac50632413da4eadbdf9071535e3f26d03795828ab07fa
  F tool/mkpragmatab.tcl 49039adedafbc430d2959400da2e0e8f20ef8dcf6898e447c946e7d50ef5906b
- F tool/mkshellc.tcl 1f45770aea226ac093a9c72f718efbb88a2a2833409ec2e1c4cecae4202626f5
 -F tool/mkshellc.tcl d18a6769f766bd5a0fd5fd60e6bbde38ed6d1a41fced5fe32ac01ab9d2e0d5ec
++F tool/mkshellc.tcl 70a9978e363b0f3280ca9ce1c46d72563ff479c1930a12a7375e3881b7325712
  F tool/mksourceid.c d458f9004c837bee87a6382228ac20d3eae3c49ea3b0a5aace936f8b60748d3b
  F tool/mkspeedsql.tcl a1a334d288f7adfe6e996f2e712becf076745c97
  F tool/mksqlite3c-noext.tcl 4f7cfef5152b0c91920355cbfc1d608a4ad242cb819f1aea07f6d0274f584a7f
@@@ -1818,7 -1821,7 +1821,8 @@@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a9
  F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
  F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
  F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
- P af53c41a127c314c0608f3fd016d3a26896783745e46cd180976a188400cdb75
- R 5d8e72521d268ff442af4eda367a86ab
- U drh
- Z c27e4c4c6167f0761ffa85b745f3dbd7
 -P b91d819bd16de43fc99e379da0ba9c915b0c5afc68e804a50c3c1662c1f9a740
 -R dcbe5105dfc58103275280fa56f0f458
++P 95209072176ff21a91e96d5bd014b35ef100da2b0b93958baf6df4294a8daa85 425d708c3908fe74f69b62e6dd1722a0018088977e12f14b312dad1df0fbb804
++R f359cf293ea45304e0ddadd16c7a1206
++T +closed 425d708c3908fe74f69b62e6dd1722a0018088977e12f14b312dad1df0fbb804
+ U dan
 -Z a7824dfb7c5c59a3dfb17eb398274a3e
++Z ee7f2d083d1fca64ba3bb33b40a19208
diff --cc manifest.uuid
index 9bb2a9c04f4e52ad360841752a301f80f495ec3f,3985d129a5bf23a32ba1a6b37d717af8443bedca..55700b69670893bb24c2c3d1801bfd45ab2487e3
@@@ -1,1 -1,1 +1,1 @@@
- 95209072176ff21a91e96d5bd014b35ef100da2b0b93958baf6df4294a8daa85
 -425d708c3908fe74f69b62e6dd1722a0018088977e12f14b312dad1df0fbb804
++50fe48458942fa7a6bcc76316c6321f95b23dc34f2f8e0a483826483b2fb16f6
index 534ac6156a4e607c3c0bb77b2f5468b9ebe92ef3,73eacdb9da701f974a4150d6991612255430dd20..4f0e17f83d27902936f6136aaf078d7fdfa42761
@@@ -46,6 -48,7 +48,7 @@@ while {1} 
    if {[regexp {^INCLUDE } $lx]} {
      set cfile [lindex $lx 1]
      puts $out "/************************* Begin $cfile ******************/"
 -    puts $out "#line 1 \"$cfile\""
++#   puts $out "#line 1 \"$cfile\""
      set in2 [open $topdir/src/$cfile rb]
      while {![eof $in2]} {
        set lx [omit_redundant_typedefs [gets $in2]]
@@@ -58,6 -63,7 +63,7 @@@
      }
      close $in2
      puts $out "/************************* End $cfile ********************/"
 -    puts $out "#line [expr $iLine+1] \"shell.c.in\""
++#   puts $out "#line [expr $iLine+1] \"shell.c.in\""
      continue
    }
    puts $out $lx