summaryrefslogtreecommitdiff
path: root/ext/pdo_odbc/pdo_odbc.c
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2005-07-07 12:49:21 +0000
committerWez Furlong <wez@php.net>2005-07-07 12:49:21 +0000
commit93024bc26885653fa9b91da02cdd1060bf4a86ce (patch)
treea8c0b0a48b89957a3fd263dbc2e89f54d9310b7d /ext/pdo_odbc/pdo_odbc.c
parent68caaadc6a9a2c4498146cb678e841e2fc696749 (diff)
downloadphp-git-93024bc26885653fa9b91da02cdd1060bf4a86ce.tar.gz
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.
Diffstat (limited to 'ext/pdo_odbc/pdo_odbc.c')
-rwxr-xr-xext/pdo_odbc/pdo_odbc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pdo_odbc/pdo_odbc.c b/ext/pdo_odbc/pdo_odbc.c
index 5a7709e7c8..34b9bc90ae 100755
--- a/ext/pdo_odbc/pdo_odbc.c
+++ b/ext/pdo_odbc/pdo_odbc.c
@@ -2,7 +2,7 @@
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
- | Copyright (c) 1997-2004 The PHP Group |
+ | Copyright (c) 1997-2005 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.0 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
@@ -80,7 +80,7 @@ PHP_MINIT_FUNCTION(pdo_odbc)
}
#ifdef SQL_ATTR_CONNECTION_POOLING
- /* ugh, we don't really .ini stuff in PDO, but since ODBC connection
+ /* ugh, we don't really like .ini stuff in PDO, but since ODBC connection
* pooling is process wide, we can't set it from within the scope of a
* request without affecting others, which goes against our isolated request
* policy. So, we use cfg_get_string here to check it this once.