Hi,
   When passing null terminated strings to the sap ODBC driver along with the length 
of the string the driver fails to accept values that are accepted by other drivers as 
valid length (i.e. the length inclusive of null terminator).

Eg: SQLconnectW with username 'test' password 'test'(note stings are null 
terminated)---> most ODBC drivers (access/db2/Sybase) accept 5 as a valid length for 
username and 5 as a valid length password however sapdb ODBC fails to do this(SAPDB 
will accept only 4.)Other drivers will not accept 4.

Moreover the bug affects all aspects of the driver where strings are passed passed eg. 
a query will fail if the length passed includes the null terminator.

Why is the behavior of sapdb ODBC different from other ODBC drivers? Tried this and it 
even works with access ODBC. (I'm sure Microsoft Access should meet the specs of 
Microsoft ODBC)
Regards,
Ajit


_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to