Skip to content

Commit 3e1138e

Browse files
committed
Remove disable_native_prepares
1 parent 00e88b0 commit 3e1138e

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

ext/pdo_pgsql/pgsql_driver.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ static bool pgsql_handle_preparer(pdo_dbh_t *dbh, zend_string *sql, pdo_stmt_t *
295295
execute_only = 1;
296296
}
297297
} else {
298-
emulate = H->disable_native_prepares || H->emulate_prepares;
298+
emulate = H->emulate_prepares;
299299
execute_only = H->disable_prepares;
300300
}
301301

ext/pdo_pgsql/php_pdo_pgsql_int.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,7 @@ typedef struct {
4444
pdo_pgsql_error_info einfo;
4545
Oid pgoid;
4646
unsigned int stmt_counter;
47-
/* The following two variables have the same purpose. Unfortunately we need
48-
to keep track of two different attributes having the same effect. */
4947
bool emulate_prepares;
50-
bool disable_native_prepares; /* deprecated since 5.6 */
5148
bool disable_prepares;
5249
HashTable *lob_streams;
5350
zend_fcall_info_cache *notice_callback;

0 commit comments

Comments
 (0)