Re: How to pass mysql connections across exec()

2002-03-11 Thread Manvendra Bhangui
Rick, I have tried it and it works and there is no problem in executing any sql queries in the child. my application also is working fine. But the issue I am facing is the value of the four variables in the MYSQL structure, which I presume gets set only when doing mysql_real_connect(). I am wor

RE: How to pass mysql connections across exec()

2002-03-11 Thread Rick Emery
have you tried forking the process, then terminating the parent? All open file desciptors, including sockets, would be available to the child. The child would contain the code in try1.c. -Original Message- From: Manvendra Bhangui [mailto:[EMAIL PROTECTED]] Sent: Monday, March 11, 2002 5