dbh->methods = &mysql_methods;
dbh->alloc_own_columns = 1;
- dbh->supports_placeholders = 1;
- dbh->emulate_prepare = 1;
- dbh->placeholders_can_be_strings = 1;
+ dbh->supports_placeholders = 0;
dbh->max_escaped_char_length = 2;
ret = 1;
dbh->methods = &oci_methods;
dbh->alloc_own_columns = 1;
- dbh->supports_placeholders = 1;
- dbh->placeholders_can_be_strings = 1;
+ dbh->supports_placeholders = PDO_PLACEHOLDER_NAMED;
dbh->native_case = PDO_CASE_UPPER;
ret = 1;
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;
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;
}
dbh->methods = &pgsql_methods;
dbh->alloc_own_columns = 1;
- dbh->supports_placeholders = 1;
- dbh->emulate_prepare = 1;
- dbh->placeholders_can_be_strings = 1;
+ dbh->supports_placeholders = PDO_PLACEHOLDER_NONE;
dbh->max_escaped_char_length = 2;
ret = 1;