summaryrefslogtreecommitdiff
path: root/ext/pdo_mysql/php_pdo_mysql_int.h
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2014-05-07 11:00:36 +0800
committerXinchen Hui <laruence@php.net>2014-05-07 11:00:36 +0800
commit2d0c9690de4ffecda7049a03841212a96295adf1 (patch)
tree9ad9d6d4b00194de42bce8246664cdc49ac881e6 /ext/pdo_mysql/php_pdo_mysql_int.h
parent4ecc52797650c882f3101edd7171007ac0d15ec7 (diff)
downloadphp-git-2d0c9690de4ffecda7049a03841212a96295adf1.tar.gz
Refactor pdo_mysql(incompleted, some tests failed due to no mysqlnd)
Diffstat (limited to 'ext/pdo_mysql/php_pdo_mysql_int.h')
-rw-r--r--ext/pdo_mysql/php_pdo_mysql_int.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/ext/pdo_mysql/php_pdo_mysql_int.h b/ext/pdo_mysql/php_pdo_mysql_int.h
index 26263222b9..4455dcbeb6 100644
--- a/ext/pdo_mysql/php_pdo_mysql_int.h
+++ b/ext/pdo_mysql/php_pdo_mysql_int.h
@@ -118,31 +118,31 @@ typedef struct {
typedef struct {
pdo_mysql_db_handle *H;
- MYSQL_RES *result;
- const MYSQL_FIELD *fields;
- MYSQL_ROW current_data;
+ MYSQL_RES *result;
+ const MYSQL_FIELD *fields;
+ MYSQL_ROW current_data;
#if PDO_USE_MYSQLND
- unsigned long *current_lengths;
+ unsigned long *current_lengths;
#else
- long *current_lengths;
+ long *current_lengths;
#endif
- pdo_mysql_error_info einfo;
+ pdo_mysql_error_info einfo;
#if PDO_USE_MYSQLND
- MYSQLND_STMT *stmt;
+ MYSQLND_STMT *stmt;
#else
- MYSQL_STMT *stmt;
+ MYSQL_STMT *stmt;
#endif
- int num_params;
+ int num_params;
PDO_MYSQL_PARAM_BIND *params;
#ifndef PDO_USE_MYSQLND
- my_bool *in_null;
- unsigned long *in_length;
+ my_bool *in_null;
+ unsigned long *in_length;
#endif
PDO_MYSQL_PARAM_BIND *bound_result;
- my_bool *out_null;
- unsigned long *out_length;
- unsigned int params_given;
- unsigned max_length:1;
+ my_bool *out_null;
+ unsigned long *out_length;
+ unsigned int params_given;
+ unsigned max_length:1;
} pdo_mysql_stmt;
extern pdo_driver_t pdo_mysql_driver;