1
0
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:
Kamil Tekiela
2024-11-25 19:04:15 +00:00
parent 00e88b08d5
commit 3e1138e997
2 changed files with 1 additions and 4 deletions

View File

@@ -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;
}

View File

@@ -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;