]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix Ingres problems with queries with have both an LIMIT and OFFSET clause as we...
authorMarco van Wieringen <mvw@planets.elm.net>
Mon, 19 Apr 2010 19:03:55 +0000 (21:03 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Aug 2010 14:53:43 +0000 (16:53 +0200)
bacula/src/cats/cats.h

index e7f82e55e50db3302c0b7f8c8edf84cfa4393e4a..9e0e5060c3241185d3d13a1814f61d32b105cc7f 100644 (file)
@@ -535,7 +535,6 @@ extern const char* my_pg_batch_fill_path_query;
 #ifdef HAVE_INGRES
 
 #include "myingres.h"
-#include "lib/breg.h"
 
 #define BDB_VERSION 12
 
@@ -587,7 +586,7 @@ struct B_DB {
    POOLMEM *path;                 /* Path only */
    POOLMEM *esc_name;             /* Escaped file name */
    POOLMEM *esc_path;             /* Escaped path name */
-   BREGEXP *limit_filter;         /* Filter LIMIT function in queries into supported SQL */
+   alist *query_filters;          /* Filters to convert sql queries into supported Ingres SQL */
    int fnl;                       /* file name length */
    int pnl;                       /* path name length */
 };