summaryrefslogtreecommitdiff
path: root/ext/pdo_pgsql/php_pdo_pgsql_int.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pdo_pgsql/php_pdo_pgsql_int.h')
-rw-r--r--ext/pdo_pgsql/php_pdo_pgsql_int.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/ext/pdo_pgsql/php_pdo_pgsql_int.h b/ext/pdo_pgsql/php_pdo_pgsql_int.h
index bc31c9cdee..16aeb3ca48 100644
--- a/ext/pdo_pgsql/php_pdo_pgsql_int.h
+++ b/ext/pdo_pgsql/php_pdo_pgsql_int.h
@@ -42,16 +42,13 @@ typedef struct {
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. */
- zend_bool emulate_prepares;
- zend_bool disable_native_prepares; /* deprecated since 5.6 */
- zend_bool disable_prepares;
+ bool emulate_prepares;
+ bool disable_native_prepares; /* deprecated since 5.6 */
+ bool disable_prepares;
} pdo_pgsql_db_handle;
typedef struct {
- char *def;
- zend_long intval;
Oid pgsql_type;
- zend_bool boolval;
} pdo_pgsql_column;
typedef struct {
@@ -60,13 +57,13 @@ typedef struct {
pdo_pgsql_column *cols;
char *cursor_name;
char *stmt_name;
- char *query;
+ zend_string *query;
char **param_values;
int *param_lengths;
int *param_formats;
Oid *param_types;
int current_row;
- zend_bool is_prepared;
+ bool is_prepared;
} pdo_pgsql_stmt;
typedef struct {