|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Mysql_free_result() is causing mysql to close.
Every time I call mysql_free_result() mysql.exe terminates unexpectedly. Here is what I am doing:
PHP Code:
What am I doing wrong? If I don't call mysql_free_result(), the next time I query the database my program hangs. Last edited by Yahn : May 3rd, 2008 at 07:26 PM. |
|
#2
|
|||
|
|||
|
Not really a MySQL problem; should probably be in the C/C++ forum. Having said that, we can't see all your code so we have no idea if you've got a bad query, etc.
Are you trying to reuse the mysqlres pointer?
__________________
BookMooch.com : Give books away. Get books you want. |
|
#3
|
|||
|
|||
|
No, that is the entire code. I left out the main and all of that to make it more of a mysql question.
|
![]() |
| Viewing: Dev Shed Forums > Databases > MySQL Help > Mysql_free_result() is causing mysql to close. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|