From 03147e938c53bf533303d74f3cf5c2b7f7a31364 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Fri, 9 Oct 2009 11:17:30 +0200 Subject: [PATCH] remove old db_get_int_handler() --- bacula/src/cats/sql_get.c | 15 --------------- 1 file changed, 15 deletions(-) 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 */ -- 2.39.5