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
  • Loading branch information
AndyJRobinson authored and miconda committed May 26, 2016
1 parent c8ac7f9 commit d3abee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/uac/uac_reg.c
Expand Up @@ -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);
Expand Down

0 comments on commit d3abee9

Please sign in to comment.