#16 Problem in translate from SQLGetDiagField to unicode version

open
nobody
None
5
2007-02-15
2007-02-15
EWong
No

Translating a call to SQLGetDiagField() (from the application) to a call to SQLGetDiagFieldW() (to the driver) is not done properly. For example, if the application passes in a char* buffer and a 6 to the BufferLength parameter for SQLGetDiagField(), the driver should get a wchar_t* buffer and a BufferLength of 12 in SQLGetDiagFieldW(). However, the BufferLength parameter in the driver side SQLGetDiagFieldW() is still the same as in the application's call to SQLGetDiagField() (which is 6 in this example). Therefore, the conversion from SQLGetDiagField() to SQLGetDiagFieldW() is not done properly.

This problem has been determined in 3.52.3.

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks