浏览代码

uac: read all 12 columns from uacreg database table

- fix when the database connector does not have DB_CAP_FETCH capability
- GH #642
Andrew J Robinson 9 年之前
父节点
当前提交
d3abee96d9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules/uac/uac_reg.c

+ 1 - 1
modules/uac/uac_reg.c

@@ -1172,7 +1172,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);