diff options
| author | Wez Furlong <wez@php.net> | 2005-01-18 04:58:50 +0000 |
|---|---|---|
| committer | Wez Furlong <wez@php.net> | 2005-01-18 04:58:50 +0000 |
| commit | a9d98544de4a41bba3542b6b5bcd1f18e18af073 (patch) | |
| tree | c0e8a0ba950eeb62ff7ed5cf6849a7352f97614e /ext/pdo_mysql/mysql_driver.c | |
| parent | d911f1986230834ccda961860aac784efdea3712 (diff) | |
| download | php-git-a9d98544de4a41bba3542b6b5bcd1f18e18af073.tar.gz | |
Allow drivers to select bind emulation on a per statement basis
Diffstat (limited to 'ext/pdo_mysql/mysql_driver.c')
| -rwxr-xr-x | ext/pdo_mysql/mysql_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_mysql/mysql_driver.c b/ext/pdo_mysql/mysql_driver.c index f0f0da3398..5f7b573b7b 100755 --- a/ext/pdo_mysql/mysql_driver.c +++ b/ext/pdo_mysql/mysql_driver.c @@ -143,6 +143,7 @@ static int mysql_handle_preparer(pdo_dbh_t *dbh, const char *sql, long sql_len, S->H = H; stmt->driver_data = S; stmt->methods = &mysql_stmt_methods; + stmt->supports_placeholders = PDO_PLACEHOLDER_NONE; return 1; } @@ -287,7 +288,6 @@ static int pdo_mysql_handle_factory(pdo_dbh_t *dbh, zval *driver_options TSRMLS_ H->attached = 1; dbh->alloc_own_columns = 1; - dbh->supports_placeholders = 0; dbh->max_escaped_char_length = 2; dbh->methods = &mysql_methods; |
