]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/cats/ingres.c
Fix typo
[bacula/bacula] / bacula / src / cats / ingres.c
index e9ea6abee69f3499f5f41babcb8f5729bf66bb84..8a7219e820d2f0ce762f6bc9f7c46a5abe89c1d0 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, new_query, true);
+   mdb->num_rows = INGexec(mdb->db, query, true);
    if (INGcheck()) {
       return 0;
    }