From: Eric Bollengier Date: Fri, 9 Oct 2009 09:17:30 +0000 (+0200) Subject: remove old db_get_int_handler() X-Git-Tag: Release-7.0.0~2605 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=03147e938c53bf533303d74f3cf5c2b7f7a31364;p=bacula%2Fbacula remove old db_get_int_handler() --- diff --git a/bacula/src/cats/sql_get.c b/bacula/src/cats/sql_get.c index 4c553025bf..d065ba09f9 100644 --- a/bacula/src/cats/sql_get.c +++ b/bacula/src/cats/sql_get.c @@ -1259,19 +1259,4 @@ bail_out: return false; } -/* - * Use to build a string of int list from a query. "10,20,30" - */ -int db_get_int_handler(void *ctx, int num_fields, char **row) -{ - POOLMEM *ret = (POOLMEM *)ctx; - if (num_fields == 1) { - if (ret[0]) { - pm_strcat(ret, ","); - } - pm_strcat(ret, row[0]); - } - return 0; -} - #endif /* HAVE_SQLITE3 || HAVE_MYSQL || HAVE_SQLITE || HAVE_POSTGRESQL || HAVE_DBI */