dbTalk Databases Forums  

Re: Problems with mysql_close() (function does not return) + potential

mailing.database.mysql-plusplus mailing.database.mysql-plusplus


Discuss Re: Problems with mysql_close() (function does not return) + potential in the mailing.database.mysql-plusplus forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Warren Young
 
Posts: n/a

Default Re: Problems with mysql_close() (function does not return) + potential - 11-29-2005 , 01:58 AM






RedFraggle wrote:
Quote:
In the problem might depend on the fact, that i still have a 'Result'
stored somewhere else , which is not deleted while closing the
connection , but i'm not sure (this would mean, that mysql_close()
knows, there is a 'Result' somewhere and waits for closing it (?)...hard
to believe...)
I don't think that's the problem. I couldn't replicate it by dropping
con.close() calls into various parts of the simple1 and usequery
examples where the Result/ResUse objects are still active.

Can you reduce the problem to a simple example?

Is the database server on another machine? If so, mysql_close() will
involve a network operation. If the remote machine isn't responding,
mysql_close() certainly could block.

Quote:
Any ideas what may cause the hanging and for what i should look?
There's a fair chance that this is not a MySQL++ issue. If you can
reproduce the problem with a small example, I would then convert it to
the equivalent MySQL C API code and try that, too. If that fails in the
same way, please take it up on the main MySQL mailing list.

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.