[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freetds
Subject:    [freetds]
From:       GUTIERREZ Pablo TESIS-TAMSA <tesgup () tamsa ! com ! mx>
Date:       2003-03-31 23:20:16
[Download RAW message or body]

Hi everybody

We ported FREE TDS 0.60 to QNX 4.25 and we are using the DB-Library API to
connect to a SQL SERVER 2000 server.
In the API status appears that function dbsettime() is not implemented yet
(nor are present the non-standard functions  dbpoll() or dbdataready() ).

The problem is that when you call dbsqlexec()/dbsqlok() on a database that
has just gone offline (i.e after calling dbopen() successfully), it blocks
indefinitely (even if I return INT_EXIT or INT_CANCEL from the error
handler).

How can I prevent it from becoming blocked? 
Is there any form to detect that a database went offline before calling
dbsqlexec()? What if the lost of connection happens at the same time
dbsqlexec() is running?

Regards
Eng. Pablo Gutierrez
 

_______________________________________________
FreeTDS mailing list
FreeTDS@lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic