From 52358d298f55e89841fa22899b7cb83826843c30 Mon Sep 17 00:00:00 2001 From: Andrew J Robinson Date: Thu, 26 May 2016 16:30:35 +0200 Subject: [PATCH] uac: read all 12 columns from uacreg database table - fix when the database connector does not have DB_CAP_FETCH capability - GH #642 (cherry picked from commit d3abee96d9ddfa6b0600d9e7f6864bd5786fdebe) --- modules/uac/uac_reg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/uac/uac_reg.c b/modules/uac/uac_reg.c index 48b65e18892..523bbd2f267 100644 --- a/modules/uac/uac_reg.c +++ b/modules/uac/uac_reg.c @@ -1165,7 +1165,7 @@ int uac_reg_load_db(void) } } else { if((ret=reg_dbf.query(reg_db_con, NULL, NULL, NULL, db_cols, - 0, 10, 0, &db_res))!=0 + 0, 12, 0, &db_res))!=0 || RES_ROW_N(db_res)<=0 ) { reg_dbf.free_result(reg_db_con, db_res);