MySQL C API

admin

Administrator
Staff member
Did anyone ever use MySQL C API library in a real-time environment? (UNIX)
I wrote a process that connects to DB, gets data, closes DB, waits 30 seconds and repeats indefinitely. After a couple of hours it crashes the machine (I have to reboot).

Does defining MYSQL , MYSQL_ROW, MYSQL_RES global or local make any difference?

Please help. Any thoughts will be appreciated.

Ava
 
Back
Top