Diff
Not logged in

Differences From:

File src/construct.c part of check-in [fc95255785] - Added implementations for the methods "deconstruct", and "construct". by aku on 2007-08-29 02:46:41. [view]

To:

File src/construct.c part of check-in [e38fc922a5] - Remove unused hard-coded tags from the schema. Output a row count as a status indicator when doing a rebuild. by drh on 2007-10-11 01:17:20. Also file src/construct.c part of check-in [d0305b305a] - Merged mainline into my branch to get the newest application. by aku on 2007-12-05 08:07:46. [view]

@@ -141,9 +141,9 @@
   db_open_repository(zRepository);
   db_open_config();
   db_begin_transaction();
 
-  db_initial_setup(0);
+  db_initial_setup(0, 1);
 
   printf("project-id: %s\n", db_get("project-code", 0));
   printf("server-id:  %s\n", db_get("server-code", 0));
   printf("admin-user: %s (no password set yet!)\n", g.zLogin);
@@ -155,9 +155,9 @@
   printf("imported:   %d %s\n", fileCnt, fileCnt == 1 ?
 	 "file" : "files");
 
   /* Finalize the repository, rebuild the derived tables */
-  errCnt = rebuild_db ();
+  errCnt = rebuild_db(0, 0);
 
   if( errCnt ){
     printf("%d %s. Rolling back changes.\n", errCnt, errCnt == 1 ?
 	   "error" : "errors");