Diff
Not logged in

Differences From:

File src/rebuild.c part of check-in [dbda8d6ce9] - Initial check-in of m1 sources. by drh on 2007-07-21 14:10:57. [view]

To:

File src/rebuild.c part of check-in [eea381f416] - Progress toward delta compression on the xfer protocol. The compression works well. But the client is not telling the server what files it has so the server does not have anything to delta against. by drh on 2007-08-09 03:19:18. [view]

@@ -47,8 +47,11 @@
   }
   errCnt = 0;
   db_open_repository(g.argv[2]);
   db_begin_transaction();
+  db_multi_exec(
+    "CREATE INDEX IF NOT EXISTS delta_i1 ON delta(srcid);"
+  );
   for(;;){
     zTable = db_text(0,
        "SELECT name FROM sqlite_master"
        " WHERE type='table'"