Fossil SCM

The VSEEN table added in the previous check-in should be a TEMP table.

drh 2013-03-14 20:45 trunk
Commit ec4c9787c9f1593f9b062bbe9c4946b1a06facf7
1 file changed +1 -1
+1 -1
--- src/diff.c
+++ src/diff.c
@@ -2301,11 +2301,11 @@
23012301
}
23022302
if( iLimit<=0 ) iLimit = 1000000000;
23032303
annotation_start(p, &toAnnotate);
23042304
db_begin_transaction();
23052305
db_multi_exec(
2306
- "CREATE TABLE IF NOT EXISTS vseen(rid INTEGER PRIMARY KEY);"
2306
+ "CREATE TEMP TABLE IF NOT EXISTS vseen(rid INTEGER PRIMARY KEY);"
23072307
"DELETE FROM vseen;"
23082308
);
23092309
23102310
db_prepare(&ins, "INSERT OR IGNORE INTO vseen(rid) VALUES(:rid)");
23112311
db_prepare(&q,
23122312
--- src/diff.c
+++ src/diff.c
@@ -2301,11 +2301,11 @@
2301 }
2302 if( iLimit<=0 ) iLimit = 1000000000;
2303 annotation_start(p, &toAnnotate);
2304 db_begin_transaction();
2305 db_multi_exec(
2306 "CREATE TABLE IF NOT EXISTS vseen(rid INTEGER PRIMARY KEY);"
2307 "DELETE FROM vseen;"
2308 );
2309
2310 db_prepare(&ins, "INSERT OR IGNORE INTO vseen(rid) VALUES(:rid)");
2311 db_prepare(&q,
2312
--- src/diff.c
+++ src/diff.c
@@ -2301,11 +2301,11 @@
2301 }
2302 if( iLimit<=0 ) iLimit = 1000000000;
2303 annotation_start(p, &toAnnotate);
2304 db_begin_transaction();
2305 db_multi_exec(
2306 "CREATE TEMP TABLE IF NOT EXISTS vseen(rid INTEGER PRIMARY KEY);"
2307 "DELETE FROM vseen;"
2308 );
2309
2310 db_prepare(&ins, "INSERT OR IGNORE INTO vseen(rid) VALUES(:rid)");
2311 db_prepare(&q,
2312

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button