summaryrefslogtreecommitdiff
path: root/ext/mysql/php_mysql.h
diff options
context:
space:
mode:
authorZak Greant <zak@php.net>2002-11-12 01:41:16 +0000
committerZak Greant <zak@php.net>2002-11-12 01:41:16 +0000
commitc29f1aa468f661bc34174a7726abdf785fff36e4 (patch)
tree531ae7230443f4956ae19f430235cfd7202ca4b6 /ext/mysql/php_mysql.h
parente7f3ad9d880cd0b22b251fde797ef8d576c1474e (diff)
downloadphp-git-c29f1aa468f661bc34174a7726abdf785fff36e4.tar.gz
Modified php_mysql_do_connect() as suggested by Nick Gaugler - using
mysql_ping() as a more efficient alternative to using mysql_stat() to check if the server is alive and then calling mysql_(real_)?connect() to reconnect. Simple tests of opening pconnects indicate that only about 10k of data per ping needs to be returned to the client per connection check, rather than about 110k per status check.
Diffstat (limited to 'ext/mysql/php_mysql.h')
0 files changed, 0 insertions, 0 deletions