#4 Dirty fix to make it work on K1 with FreeTDS

closed-fixed
nobody
None
5
2003-12-12
2003-05-08
No

K1 on RedHat 8.0, FreeTDS "current" snapshot of
16.03.2003, unixODBC 2.2.2.3, MSSQL Server 7.0 SP3.
If an exception is raised in
TSqlConnectionOdbc.connect, then Kylix just hangs (at
least for me). The technical problem seems to be with
exception handling probably not working properly.

In the .diff attached the problematic lines concerning
SQL_GETDATA_EXTENSIONS have been commented
out. I am not sure that if this option is not supported you
should just drop the connection ;-), and selects work
fine for me now. It seems to be wrong policy, at least at
the connect time.

The "freshest current" snapshot of FreeTDS (of
07.05.2003) was unable to connect to server at all, so I
used a rather old one.

Discussion

  • Alex Ehrlich

    Alex Ehrlich - 2003-05-08
     
    Attachments
  • Vadim V.Lopushansky

    Logged In: YES
    user_id=644745

    Thanks. It is added.

     
  • Edward Benson

    Edward Benson - 2003-12-12
    • status: open --> closed
     
  • Edward Benson

    Edward Benson - 2003-12-12
    • status: closed --> closed-fixed
     
  • Edward Benson

    Edward Benson - 2003-12-12

    Logged In: YES
    user_id=354970

    Thanks for adding the fix, Vad!

     

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

Sign up for the SourceForge newsletter:





No, thanks