Skip to content

Commit

Permalink
[db_sqlite] use DB_STRING type when the column value type is DB_STRING
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarrod Baumann committed Mar 31, 2016
1 parent d932652 commit a2c7994
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/db_sqlite/row.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ int db_sqlite_convert_row(const db_con_t* _h, db_res_t* _res, db_row_t* _r)
memcpy(VAL_STR(_v).s, db_value, VAL_STR(_v).len);

VAL_STR(_v).s[VAL_STR(_v).len]='\0';
VAL_TYPE(_v) = DB_STR;
VAL_TYPE(_v) = DB_STRING;
break;
default:
LM_ERR("invalid type for sqlite!\n");
Expand Down

0 comments on commit a2c7994

Please sign in to comment.