Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/odbc_connection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1795,7 +1795,7 @@ class CallProcedureAsyncWorker : public ODBCAsyncWorker {
// create the statement to call the stored procedure using the ODBC Call
// escape sequence: need to create the string "?,?,?,?" where the number of
// '?' is the number of parameters;
size_t parameterStringSize = (data->parameterCount * 2);
size_t parameterStringSize = (data->parameterCount * 2) + 1;
char* parameterString = new char[parameterStringSize];
parameterString[0] = '\0';

Expand Down
Loading