Commit Graph

18 Commits

Author SHA1 Message Date
Dmitry Stogov
8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
Wez Furlong
145bdfa9a4 Use right define: ZEND_MODULE_API_NO as these are PHP modules, not Zend extensions 2005-11-25 15:44:40 +00:00
Dan Scott
887901c35c Apply patch for #34900, sight unseen. 2005-10-18 01:01:32 +00:00
Wez Furlong
ed6fa70f49 use PDO:: class constants 2005-09-20 00:45:16 +00:00
Wez Furlong
eab79e8de6 prep for pecl release 2005-07-27 03:22:03 +00:00
Wez Furlong
93024bc268 Fix handling of parameter binding.
We need to guess at parameter sizing in some cases (eg: MS Access) as the
SQLDescribeParam() API is an optional feature.
Tidy up error handling.
Add workaround for a shutdown bug that I see with MS ODBC implementation.
(working to determine the precise cause of this).
PDO core test suite now passes all tests.
2005-07-07 12:49:21 +00:00
Wez Furlong
372c38a53a build related adjustments.
These need to be included in beta 2
2005-06-22 08:45:22 +00:00
Wez Furlong
201ec3dc02 prep for release 2005-02-09 05:04:40 +00:00
Wez Furlong
7279fe8ab0 centralize this define 2005-02-07 00:02:51 +00:00
Wez Furlong
166ca20bed Fix build 2005-01-11 14:28:37 +00:00
Wez Furlong
70da739031 remove error map; odbc speaks SQLSTATE natively 2005-01-07 05:25:35 +00:00
Wez Furlong
4d232fb17c Add flag to control the use of the ODBC cursor emulation library.
The default (which should be safe) is to use the cursor library if it is needed.
If for some reason either the driver or the emulation is broken, you may
override this from your script.
2004-05-25 17:44:36 +00:00
Wez Furlong
055848d83a prep for release 2004-05-22 20:58:36 +00:00
Wez Furlong
d39117c234 Fix buglet in dbh closing. 2004-05-22 15:04:26 +00:00
Wez Furlong
35494bb569 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.
2004-05-22 14:51:26 +00:00
Wez Furlong
8d9c384f7f Fix doer()
Implement error handling for ODBC
2004-05-22 00:30:00 +00:00
Wez Furlong
dc57cff2a6 Prep for release 2004-05-21 21:20:00 +00:00
Wez Furlong
d6c4dee168 ODBC (v3 ish) driver for PDO.
Will not build under unix yet.
2004-05-17 15:43:01 +00:00