#6 SAPDB DSN on linux

closed
None
5
2005-07-18
2004-04-01
Thierry Nivon
No

Hi,
I found a bug for sapdb odbc driver under linux.

in fact in the connect string created
we have something like that
DSN=ccccccc;UID=dba;;PWD=xyz

there is 2 ';' which make me unable to connect to the
database

3537,3538c3537,3538
< if fOdbcConnectString[Length(fOdbcConnectString]<>';'
then

< fOdbcConnectString:=fOdbcConnectString+';'

---
> if
fOdbcConnectString[Length(fOdbcConnectString)]<>';' then

> fOdbcConnectString:=fOdbcConnectString+';' ;

3544,3545c3544,3545
< if fOdbcConnectString[Length(fOdbcConnectString]<>';'
then

< fOdbcConnectString:=fOdbcConnectString+';'

---
> if
fOdbcConnectString[Length(fOdbcConnectString)]<>';' then

> fOdbcConnectString:=fOdbcConnectString+';' ;

So I post the differences in dbxopenodbc

There is a second thing which is only a little annoying
is the fact that UID and PASSWORD have to be Uppercased
in the linux driver, so could we have an option to
automatically uppercasing UID and PASSWORD

And a lot of thanks for this driver
Thierry Nivon

Discussion

  • Logged In: YES
    user_id=644745

    Changed in OpenODBC 2.015.

     
    • assigned_to: nobody --> pult
    • status: open --> closed