Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ext/pdo_pgsql/pgsql_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
3 changes: 0 additions & 3 deletions ext/pdo_pgsql/php_pdo_pgsql_int.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Loading