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.
Commit
dbec64585aac08f66fda539c6d9bb7c630ad7ece
Parent
63a9998ca1b42db…
1 file changed
+1
+1
| --- src/rebuild.c | ||
| +++ src/rebuild.c | ||
| @@ -349,10 +349,11 @@ | ||
| 349 | 349 | " WHERE type='table'" |
| 350 | 350 | " AND name NOT IN ('blob','delta','rcvfrom','user'," |
| 351 | 351 | "'config','shun','private','reportfmt'," |
| 352 | 352 | "'concealed','accesslog','modreq')" |
| 353 | 353 | " AND name NOT GLOB 'sqlite_*'" |
| 354 | + " AND name NOT GLOB 'fx_*'" | |
| 354 | 355 | ); |
| 355 | 356 | if( zTable==0 ) break; |
| 356 | 357 | db_multi_exec("DROP TABLE %Q", zTable); |
| 357 | 358 | free(zTable); |
| 358 | 359 | } |
| 359 | 360 |
| --- 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 |