diff options
Diffstat (limited to 'ext/pdo_oci/oci_driver.c')
| -rwxr-xr-x | ext/pdo_oci/oci_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_oci/oci_driver.c b/ext/pdo_oci/oci_driver.c index 01a79c1699..1e17ae7511 100755 --- a/ext/pdo_oci/oci_driver.c +++ b/ext/pdo_oci/oci_driver.c @@ -240,6 +240,7 @@ static int oci_handle_preparer(pdo_dbh_t *dbh, const char *sql, long sql_len, pd stmt->driver_data = S; stmt->methods = &oci_stmt_methods; + stmt->supports_placeholders = PDO_PLACEHOLDER_NAMED; return 1; } @@ -472,7 +473,6 @@ static int pdo_oci_handle_factory(pdo_dbh_t *dbh, zval *driver_options TSRMLS_DC dbh->methods = &oci_methods; dbh->alloc_own_columns = 1; - dbh->supports_placeholders = PDO_PLACEHOLDER_NAMED; dbh->native_case = PDO_CASE_UPPER; ret = 1; |
