
If you were logged in you would be able to see more operations.
|
|
|
When inserting null data into multipl blob columns into a table the return value of SQLParamData returns SQL_NEED_DATA when is should have return SQL_SUCCESS.
A prior call to SQLPutData was made to assign a NULL value to the blob.
This does not occur if the table contains only one blob column. If there are more than two blob columns in the table then the the ParamData is also not set correctly.
For example:
rc = ::SQLExecute ( hstmt );
rc = ::SQLParamData ( hstmt, &ParamData );
rc = ::SQLPutData ( hstmt, NULL, SQL_NULL_DATA );
rc = ::SQLParamData ( hstmt, &ParamData );
rc = ::SQLPutData ( hstmt, NULL, SQL_NULL_DATA );
rc = ::SQLParamData ( hstmt, &ParamData ); // rc should be SQL_SUCCESS
|
Description
|
When inserting null data into multipl blob columns into a table the return value of SQLParamData returns SQL_NEED_DATA when is should have return SQL_SUCCESS.
A prior call to SQLPutData was made to assign a NULL value to the blob.
This does not occur if the table contains only one blob column. If there are more than two blob columns in the table then the the ParamData is also not set correctly.
For example:
rc = ::SQLExecute ( hstmt );
rc = ::SQLParamData ( hstmt, &ParamData );
rc = ::SQLPutData ( hstmt, NULL, SQL_NULL_DATA );
rc = ::SQLParamData ( hstmt, &ParamData );
rc = ::SQLPutData ( hstmt, NULL, SQL_NULL_DATA );
rc = ::SQLParamData ( hstmt, &ParamData ); // rc should be SQL_SUCCESS
|
Show » |
|
can you check #
ODBC-145? If you have the possibility to compile the driver, can you implement the patch I provided in the referenced ticket and check whether your problem is solved by this patch also?