X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fpatches%2Ftesting%2Fbatch-insert.readme;h=c17fed9c9b0f5c1407a2dae6cb17a27fdf84d1a1;hb=f5d1d3d403f533df29cbbe54f143ccfcd83bb35c;hp=13809123a6963c8d1027b88280f1c81f73c7aa5d;hpb=069b0dddfb5752dcc9ab3b9b6d86fcfeb97aac57;p=bacula%2Fbacula diff --git a/bacula/patches/testing/batch-insert.readme b/bacula/patches/testing/batch-insert.readme index 13809123a6..c17fed9c9b 100644 --- a/bacula/patches/testing/batch-insert.readme +++ b/bacula/patches/testing/batch-insert.readme @@ -2,8 +2,10 @@ From: Eric Bollengier This patch allow you to use Batch insert mode with all database. It have tested this with postgresql 8.1 and mysql 4.1 and sqlite. +You have to add to src/baconfig.h +#define HAVE_BATCH_FILE_INSERT 1 -To use it, you MUST change some indexes. +and you MUST change some indexes. mysql) @@ -21,11 +23,18 @@ CREATE UNIQUE INDEX filename_name_idx on filename (name); DROP INDEX path_name_idx; CREATE UNIQUE INDEX path_name_idx on path (path); +sqlite) + +drop index inx2; +drop index inx1; +CREATE UNIQUE INDEX path_name_idx on path (path); +CREATE UNIQUE INDEX filename_name_idx on filename (name); $Log$ +Revision 1.2 2007/01/01 16:52:05 ricozz +ebl add #define in readme +ebl works with 2.0.0 + Revision 1.1 2006/12/20 18:47:42 ricozz ebl works with 1.39.30 -Revision 1.1 2006/12/19 21:33:06 ricozz -ebl ok against 1.39.30 -