From: Marco van Wieringen Date: Mon, 5 Apr 2010 13:42:24 +0000 (+0200) Subject: Lets call it COMMIT and not END as that seems to be the counterpart of BEGIN for... X-Git-Tag: Release-7.0.0~1993 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=23a3967e89ade4492596ff74b2a50f5c0c08921e;p=bacula%2Fbacula Lets call it COMMIT and not END as that seems to be the counterpart of BEGIN for transactions. Updated Ingres lock queries to only start a transaction as the current SQL is not valid Ingres SQL. --- diff --git a/bacula/src/cats/dbi.c b/bacula/src/cats/dbi.c index 593b130a52..f3c360ad71 100644 --- a/bacula/src/cats/dbi.c +++ b/bacula/src/cats/dbi.c @@ -1283,7 +1283,7 @@ const char *my_dbi_batch_lock_path_query[5] = { "BEGIN", /* SQLite3 */ "BEGIN", - /* Ingres (TODO) */ + /* Ingres */ "BEGIN" }; @@ -1296,7 +1296,7 @@ const char *my_dbi_batch_lock_filename_query[5] = { "BEGIN", /* SQLite3 */ "BEGIN", - /* Ingres (TODO) */ + /* Ingres */ "BEGIN" }; @@ -1332,7 +1332,7 @@ const char *my_dbi_batch_fill_path_query[5] = { "INSERT INTO Path (Path)" " SELECT DISTINCT Path FROM batch" " EXCEPT SELECT Path FROM Path", - /* Ingres (TODO) */ + /* Ingres */ "INSERT INTO Path (Path) " "SELECT a.Path FROM " "(SELECT DISTINCT Path FROM batch) AS a " @@ -1359,7 +1359,7 @@ const char *my_dbi_batch_fill_filename_query[5] = { "INSERT INTO Filename (Name)" " SELECT DISTINCT Name FROM batch " " EXCEPT SELECT Name FROM Filename", - /* Ingres (TODO) */ + /* Ingres */ "INSERT INTO Filename (Name) " "SELECT a.Name FROM " "(SELECT DISTINCT Name FROM batch) as a "