Skip to content

Commit

Permalink
Code change for issue #720
Browse files Browse the repository at this point in the history
Signed-off-by: Arnab Mukherjee <[email protected]>
  • Loading branch information
Arnab Mukherjee authored and amukherjee28 committed May 19, 2022
1 parent cdfde7f commit 8739480
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IBM_DB/ibm_db/ibm_db.c
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,7 @@ static int _python_ibm_db_bind_column_helper(stmt_handle *stmt_res)

case SQL_BIGINT:
case SQL_DECFLOAT:
in_length = stmt_res->column_info[i].size+2;
in_length = stmt_res->column_info[i].size+3;
row_data->str_val = (SQLCHAR *)ALLOC_N(char, in_length);
if ( row_data->str_val == NULL ) {
PyErr_SetString(PyExc_Exception, "Failed to Allocate Memory");
Expand Down

0 comments on commit 8739480

Please sign in to comment.