Hello
 
I'm using package sql 1.0 for the mysql database.
 
I have a serious problem with it.it loads and it works but even though i put in the end of the script:
   
    sql endquery $conn
    sql disconnect $conn
I see that mysql left an open thread. when I do a lot of query I  get many open threads until non can be opened any more.
 
when I write:
 
hflush
exit
 
at the end of the script the problem disappears( the hflush does not affet the closing of th ethread). is this the solution or am I closing the tcl shell?
 
 
Yahalom Emet
Software Developer
Xor Technologies Ltd.

Reply via email to