Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
Description
If application only wants to know the length of WCHAR data in the column(and not the data itself), the driver returns 0
The fix only has been pushed(the testcase for
ODBC-359covers this case)If application wanted to know length of wchar data(to allocate the buffer
and later fetch it) - i.e. it SQLBindCol only length pointer, and no
data pointer, on SQLFetch connector would put 0 in the length buffer.
Usually that is done with SQLGetData, but this way is also legitimate.