Fossil SCM

Added fx_* to the glob of tables which are _not_ dropped by a rebuild, per ML discussion. The intention is to give 3rd-party extensions a safe place to put their data.

stephan 2013-10-27 09:44 trunk
Commit dbec64585aac08f66fda539c6d9bb7c630ad7ece
1 file changed +1
--- src/rebuild.c
+++ src/rebuild.c
@@ -349,10 +349,11 @@
349349
" WHERE type='table'"
350350
" AND name NOT IN ('blob','delta','rcvfrom','user',"
351351
"'config','shun','private','reportfmt',"
352352
"'concealed','accesslog','modreq')"
353353
" AND name NOT GLOB 'sqlite_*'"
354
+ " AND name NOT GLOB 'fx_*'"
354355
);
355356
if( zTable==0 ) break;
356357
db_multi_exec("DROP TABLE %Q", zTable);
357358
free(zTable);
358359
}
359360
--- src/rebuild.c
+++ src/rebuild.c
@@ -349,10 +349,11 @@
349 " WHERE type='table'"
350 " AND name NOT IN ('blob','delta','rcvfrom','user',"
351 "'config','shun','private','reportfmt',"
352 "'concealed','accesslog','modreq')"
353 " AND name NOT GLOB 'sqlite_*'"
 
354 );
355 if( zTable==0 ) break;
356 db_multi_exec("DROP TABLE %Q", zTable);
357 free(zTable);
358 }
359
--- src/rebuild.c
+++ src/rebuild.c
@@ -349,10 +349,11 @@
349 " WHERE type='table'"
350 " AND name NOT IN ('blob','delta','rcvfrom','user',"
351 "'config','shun','private','reportfmt',"
352 "'concealed','accesslog','modreq')"
353 " AND name NOT GLOB 'sqlite_*'"
354 " AND name NOT GLOB 'fx_*'"
355 );
356 if( zTable==0 ) break;
357 db_multi_exec("DROP TABLE %Q", zTable);
358 free(zTable);
359 }
360

Keyboard Shortcuts

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