diff options
| author | Wez Furlong <wez@php.net> | 2004-05-21 14:15:03 +0000 |
|---|---|---|
| committer | Wez Furlong <wez@php.net> | 2004-05-21 14:15:03 +0000 |
| commit | 64f0ec7bde2252ed09f95b6dee4cafb62149c7df (patch) | |
| tree | 467514c72050906934cd0c72420cf4e46448f645 /ext/pdo_odbc/odbc_driver.c | |
| parent | 8f5b212612745113bfaab1a438e6c53819bb6b2e (diff) | |
| download | php-git-64f0ec7bde2252ed09f95b6dee4cafb62149c7df.tar.gz | |
Update for placeholder flags
Diffstat (limited to 'ext/pdo_odbc/odbc_driver.c')
| -rwxr-xr-x | ext/pdo_odbc/odbc_driver.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/pdo_odbc/odbc_driver.c b/ext/pdo_odbc/odbc_driver.c index c3480c1729..d6d42e7a26 100755 --- a/ext/pdo_odbc/odbc_driver.c +++ b/ext/pdo_odbc/odbc_driver.c @@ -94,7 +94,7 @@ static int odbc_handle_preparer(pdo_dbh_t *dbh, const char *sql, long sql_len, p return 1; } -static int odbc_handle_doer(pdo_dbh_t *dbh, const char *sql TSRMLS_DC) +static int odbc_handle_doer(pdo_dbh_t *dbh, const char *sql, long sql_len TSRMLS_DC) { pdo_odbc_db_handle *H = (pdo_odbc_db_handle *)dbh->driver_data; @@ -223,11 +223,11 @@ static int pdo_odbc_handle_factory(pdo_dbh_t *dbh, zval *driver_options TSRMLS_D return 0; } - /* TODO: if we want to play nicely, we should check to see if the driver supports ODBC v3 or not */ + /* TODO: if we want to play nicely, we should check to see if the driver really supports ODBC v3 or not */ dbh->methods = &odbc_methods; dbh->alloc_own_columns = 1; - dbh->supports_placeholders = 1; + dbh->supports_placeholders = PDO_PLACEHOLDER_POSITIONAL; return 1; } |
