Check-in [dfb6ee3bac]
Not logged in
Overview

SHA1 Hash:dfb6ee3bac8b573fecf8ea406498521b4b4f95ea
Date: 2008-02-02 06:49:40
User: aku
Comment:Dropped primary key of temp table __im, record ids are not unique. Scenario: Several empty files. All have the same id, different paths.
Timelines: ancestors | descendants | both | trunk
Other Links: files | ZIP archive | manifest

Tags And Properties
Changes
[hide diffs]

Modified src/checkin.c from [8d57a933e0] to [3af7638aed].

@@ -656,12 +656,12 @@
     usage (USAGE);
   }
 
   db_begin_transaction();
   db_multi_exec ("CREATE TEMP TABLE __im ("
-		 "rid INTEGER PRIMARY KEY,"
-		 "pathname TEXT NOT NULL)" );
+		 "rid      INTEGER NOT NULL,"
+		 "pathname TEXT    NOT NULL)" );
 
   while (g.argc > 2) {
     /* Check and store ... */
     if (strcmp("-f",   g.argv[2]) &&
 	strcmp("-file",g.argv[2])) {