]> granicus.if.org Git - php/commit
Enable ODBC Connection Pooling.
authorWez Furlong <wez@php.net>
Sat, 22 May 2004 14:51:26 +0000 (14:51 +0000)
committerWez Furlong <wez@php.net>
Sat, 22 May 2004 14:51:26 +0000 (14:51 +0000)
commit35494bb569aa83c26550a8863f681d0fd641940c
tree0b5b11167670a355335969022e37f6bbd632da62
parentce5e317cc5f26aa01bc0d04a8c133fc5a3001262
Enable ODBC Connection Pooling.

Theoretically better than PHP persistent connections, since ODBC itself takes
care of resetting the connections back to a "ground" state.

Connection pooling defaults to ON, since this is generally useful.
You can turn it off by using:

pdo_odbc.connection_pooling=off

in your php.ini file.

You may configure how ODBC matches connection details to existing connections
by setting this value to "strict" (the default) or "relaxed".  You are
encouraged to read the ODBC specs before changing this value.
ext/pdo_odbc/odbc_driver.c
ext/pdo_odbc/pdo_odbc.c
ext/pdo_odbc/php_pdo_odbc_int.h