dbTalk Databases Forums  

real_connect

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


Discuss real_connect in the mailing.database.mysql-plusplus forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Nash Kabbara
 
Posts: n/a

Default real_connect - 06-15-2005 , 06:48 PM






Hi,

Can anyone please explain what happens when Connection::real_connect
is called on an already connected object?

I couldn't find that case documented anywhere.


Thanks,

Nash

--
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
  #2  
Old   
Warren Young
 
Posts: n/a

Default Re: real_connect - 06-15-2005 , 08:48 PM






Nash Kabbara wrote:
Quote:
Can anyone please explain what happens when Connection::real_connect
is called on an already connected object?
The same thing that happens when you call mysql_real_connect() twice.

Any weirdness here is almost certainly in the C API.

I suppose MySQL++ should try to defend against this practice, but
currently it does not.

--
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.