From: Eric Bollengier Date: Fri, 23 Mar 2007 12:33:53 +0000 (+0000) Subject: ebl remove IGNORE keyword from batch mode X-Git-Tag: Release-7.0.0~6732 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8f6992f8967255c107ed57e5a075f78b34ecf534;p=bacula%2Fbacula ebl remove IGNORE keyword from batch mode git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4392 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/cats/mysql.c b/bacula/src/cats/mysql.c index 8e9e5261cf..982057ba2a 100644 --- a/bacula/src/cats/mysql.c +++ b/bacula/src/cats/mysql.c @@ -385,7 +385,7 @@ char *my_mysql_batch_lock_filename_query = "LOCK TABLES Filename write, " char *my_mysql_batch_unlock_tables_query = "UNLOCK TABLES"; -char *my_mysql_batch_fill_path_query = "INSERT IGNORE INTO Path (Path) " +char *my_mysql_batch_fill_path_query = "INSERT INTO Path (Path) " " SELECT a.Path FROM " " (SELECT DISTINCT Path " " FROM batch) AS a " @@ -394,7 +394,7 @@ char *my_mysql_batch_fill_path_query = "INSERT IGNORE INTO Path (Path) " " FROM Path AS p " " WHERE p.Path = a.Path) "; -char *my_mysql_batch_fill_filename_query = "INSERT IGNORE INTO Filename (Name)" +char *my_mysql_batch_fill_filename_query = "INSERT INTO Filename (Name) " " SELECT a.Name FROM " " (SELECT DISTINCT Name " " FROM batch) AS a "