In C API, after running mysql_query(), I want to stop this query by mysql_kill(). But I can not get the specific process (query) ID. How could I solve this problem? mysql_list_processes() return a list of all processes (quries) running on the server. But it is possible that different user may running the same query, so I still cannot figure out which process ID I should kill. In fact, if mysql_query() return the process ID of the query, then there would be no such problem. I am wondering why it returns 0 but not process ID.
Thanks SY __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]