]> git.sur5r.net Git - bacula/bacula/commitdiff
Revert "Fix typo"
authorKern Sibbald <kern@sibbald.com>
Sat, 10 Apr 2010 10:15:18 +0000 (12:15 +0200)
committerKern Sibbald <kern@sibbald.com>
Sat, 10 Apr 2010 10:15:18 +0000 (12:15 +0200)
This reverts commit cf512bf3fe8a0fb2cdc7f72c4db4163f4e122e8f.

bacula/src/cats/ingres.c

index 8a7219e820d2f0ce762f6bc9f7c46a5abe89c1d0..e9ea6abee69f3499f5f41babcb8f5729bf66bb84 100755 (executable)
@@ -683,7 +683,7 @@ int my_ingres_insert_id(B_DB *mdb, const char *query, const char *table_name)
     * mdb->transaction is false. This way its an atomic operation for
     * Ingres and things work.
     */
-   mdb->num_rows = INGexec(mdb->db, query, true);
+   mdb->num_rows = INGexec(mdb->db, new_query, true);
    if (INGcheck()) {
       return 0;
    }