diff options
| author | Zak Greant <zak@php.net> | 2002-11-12 01:41:16 +0000 |
|---|---|---|
| committer | Zak Greant <zak@php.net> | 2002-11-12 01:41:16 +0000 |
| commit | c29f1aa468f661bc34174a7726abdf785fff36e4 (patch) | |
| tree | 531ae7230443f4956ae19f430235cfd7202ca4b6 /ext/mysql/php_mysql.h | |
| parent | e7f3ad9d880cd0b22b251fde797ef8d576c1474e (diff) | |
| download | php-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
