int mysql_kill(MYSQL *mysql, unsigned long pid)


Asks the server to kill the thread specified by pid.

This function is deprecated. It is preferable to use mysql_query() to issue an SQL KILL statement instead.

Return Values

Zero for success. Nonzero if an error occurred.


Download this Manual
User Comments
Sign Up Login You must be logged in to post a comment.