summaryrefslogtreecommitdiff
path: root/ext/pdo_odbc/odbc_driver.c
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2005-01-18 04:58:50 +0000
committerWez Furlong <wez@php.net>2005-01-18 04:58:50 +0000
commita9d98544de4a41bba3542b6b5bcd1f18e18af073 (patch)
treec0e8a0ba950eeb62ff7ed5cf6849a7352f97614e /ext/pdo_odbc/odbc_driver.c
parentd911f1986230834ccda961860aac784efdea3712 (diff)
downloadphp-git-a9d98544de4a41bba3542b6b5bcd1f18e18af073.tar.gz
Allow drivers to select bind emulation on a per statement basis
Diffstat (limited to 'ext/pdo_odbc/odbc_driver.c')
-rwxr-xr-xext/pdo_odbc/odbc_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_odbc/odbc_driver.c b/ext/pdo_odbc/odbc_driver.c
index 889067f37d..cdd55223f1 100755
--- a/ext/pdo_odbc/odbc_driver.c
+++ b/ext/pdo_odbc/odbc_driver.c
@@ -171,6 +171,7 @@ static int odbc_handle_preparer(pdo_dbh_t *dbh, const char *sql, long sql_len, p
stmt->driver_data = S;
stmt->methods = &odbc_stmt_methods;
+ stmt->supports_placeholders = PDO_PLACEHOLDER_POSITIONAL;
return 1;
}
@@ -357,7 +358,6 @@ static int pdo_odbc_handle_factory(pdo_dbh_t *dbh, zval *driver_options TSRMLS_D
dbh->methods = &odbc_methods;
dbh->alloc_own_columns = 1;
- dbh->supports_placeholders = PDO_PLACEHOLDER_POSITIONAL;
return 1;
}