Skip to content

Commit

Permalink
uac: read all 12 columns from uacreg database table
Browse files Browse the repository at this point in the history
- fix when the database connector does not have DB_CAP_FETCH capability
- GH #642

(cherry picked from commit d3abee9)
  • Loading branch information
AndyJRobinson authored and miconda committed Jun 27, 2016
1 parent 3e0f243 commit 52358d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/uac/uac_reg.c
Expand Up @@ -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);
Expand Down

0 comments on commit 52358d2

Please sign in to comment.