Fossil

Check-in [5ea9cf40]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Update the "scrub" command to remove traces of login-groups and subrepositories.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 5ea9cf40026fe2aaeff3923520df2527be478040
User & Date: drh 2011-06-06 12:01:25
Context
2011-06-06
16:50
Remove an unnecessary level of function nesting. check-in: 12989181 user: drh tags: trunk
12:01
Update the "scrub" command to remove traces of login-groups and subrepositories. check-in: 5ea9cf40 user: drh tags: trunk
2011-06-03
14:24
Update the built-in SQLite to the latest 3.7.7 alpha. check-in: 9f9047d6 user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/rebuild.c.

746
747
748
749
750
751
752




753
754
755
756
757
758
759
      "DELETE FROM private;"
    );
  }
  if( !privateOnly ){
    db_multi_exec(
      "UPDATE user SET pw='';"
      "DELETE FROM config WHERE name GLOB 'last-sync-*';"




    );
    if( bVerily ){
      db_multi_exec(
        "DELETE FROM concealed;"
        "UPDATE rcvfrom SET ipaddr='unknown';"
        "UPDATE user SET photo=NULL, info='';"
      );







>
>
>
>







746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
      "DELETE FROM private;"
    );
  }
  if( !privateOnly ){
    db_multi_exec(
      "UPDATE user SET pw='';"
      "DELETE FROM config WHERE name GLOB 'last-sync-*';"
      "DELETE FROM config WHERE name GLOB 'peer-*';"
      "DELETE FROM config WHERE name GLOB 'login-group-*';"
      "DELETE FROM config WHERE name GLOB 'skin:*';"
      "DELETE FROM config WHERE name GLOB 'subrepo:*';"
    );
    if( bVerily ){
      db_multi_exec(
        "DELETE FROM concealed;"
        "UPDATE rcvfrom SET ipaddr='unknown';"
        "UPDATE user SET photo=NULL, info='';"
      );