]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/patches/testing/batch-insert.readme
ebl get a patch for faketape + bacula 2.2
[bacula/bacula] / bacula / patches / testing / batch-insert.readme
index 13809123a6963c8d1027b88280f1c81f73c7aa5d..c17fed9c9b0f5c1407a2dae6cb17a27fdf84d1a1 100644 (file)
@@ -2,8 +2,10 @@ From: Eric Bollengier <eric AT eb.homelinux.org>
 
 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
-