mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Do not register quoter handler in ODBC
This functionallity is not (yet) implemented and therefore gives a bogus error while using PDO
This commit is contained in:
parent
9fab1b90ab
commit
24e2ba26b4
1 changed files with 5 additions and 3 deletions
|
@ -257,12 +257,14 @@ out:
|
|||
return row_count;
|
||||
}
|
||||
|
||||
/* TODO: Do ODBC quoter
|
||||
static int odbc_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, size_t unquotedlen, char **quoted, size_t *quotedlen, enum pdo_param_type param_type )
|
||||
{
|
||||
/* pdo_odbc_db_handle *H = (pdo_odbc_db_handle *)dbh->driver_data; */
|
||||
/* TODO: figure it out */
|
||||
// pdo_odbc_db_handle *H = (pdo_odbc_db_handle *)dbh->driver_data;
|
||||
// TODO: figure it out
|
||||
return 0;
|
||||
}
|
||||
*/
|
||||
|
||||
static int odbc_handle_begin(pdo_dbh_t *dbh)
|
||||
{
|
||||
|
@ -373,7 +375,7 @@ static const struct pdo_dbh_methods odbc_methods = {
|
|||
odbc_handle_closer,
|
||||
odbc_handle_preparer,
|
||||
odbc_handle_doer,
|
||||
odbc_handle_quoter,
|
||||
NULL, /* quoter */
|
||||
odbc_handle_begin,
|
||||
odbc_handle_commit,
|
||||
odbc_handle_rollback,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue