ң

mysql_thread_id

( PHP 4 CVS)

mysql_thread_id - id .

int mysql_thread_id ([resource link_identifier])

mysql_thread_id() id . mysql_ping() , ID . , thread ID . .

1. mysql_thread_id()
<?php $link = mysql_connect('localhost', 'mysql_user', 'mysql_password'); $thread_id = mysql_thread_id($link); if ($thread_id){ printf ("current thread id is %d\n", $thread_id); } ?>

:

current thread id is 73

. mysql_ping() , mysql_list_processes() .


ң
mysql_tablename mysql_unbuffered_query