mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Remove disable_native_prepares
This commit is contained in:
@@ -295,7 +295,7 @@ static bool pgsql_handle_preparer(pdo_dbh_t *dbh, zend_string *sql, pdo_stmt_t *
|
||||
execute_only = 1;
|
||||
}
|
||||
} else {
|
||||
emulate = H->disable_native_prepares || H->emulate_prepares;
|
||||
emulate = H->emulate_prepares;
|
||||
execute_only = H->disable_prepares;
|
||||
}
|
||||
|
||||
|
||||
@@ -44,10 +44,7 @@ typedef struct {
|
||||
pdo_pgsql_error_info einfo;
|
||||
Oid pgoid;
|
||||
unsigned int stmt_counter;
|
||||
/* The following two variables have the same purpose. Unfortunately we need
|
||||
to keep track of two different attributes having the same effect. */
|
||||
bool emulate_prepares;
|
||||
bool disable_native_prepares; /* deprecated since 5.6 */
|
||||
bool disable_prepares;
|
||||
HashTable *lob_streams;
|
||||
zend_fcall_info_cache *notice_callback;
|
||||
|
||||
Reference in New Issue
Block a user