summaryrefslogtreecommitdiff
path: root/ext/mysqli/php_mysqli_structs.h
diff options
context:
space:
mode:
authorUlf Wendel <uw@php.net>2009-09-11 12:16:56 +0000
committerUlf Wendel <uw@php.net>2009-09-11 12:16:56 +0000
commit9af451ff4948bf3561716eeca670d345b6bc235b (patch)
tree09dd1c165e0f3f15a80c7b04be50b592c5cdfc8d /ext/mysqli/php_mysqli_structs.h
parent384c7bce5a0c91109a50e3ae614759800fc658e9 (diff)
downloadphp-git-9af451ff4948bf3561716eeca670d345b6bc235b.tar.gz
Fixing a crash which must have existed since PHP 5.0. At least the crash can be reproduced with PHP 5.0.6. The crash happens only when using the MySQL Client Library (libmysql) - it does not happen
when using mysqlnd.
Diffstat (limited to 'ext/mysqli/php_mysqli_structs.h')
-rw-r--r--ext/mysqli/php_mysqli_structs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mysqli/php_mysqli_structs.h b/ext/mysqli/php_mysqli_structs.h
index 3367010fa7..0865430067 100644
--- a/ext/mysqli/php_mysqli_structs.h
+++ b/ext/mysqli/php_mysqli_structs.h
@@ -82,10 +82,10 @@ typedef struct {
UErrorCode status; /* error code */
} MYSQLI_STRING;
-
typedef struct {
- ulong buflen;
char *val;
+ ulong buflen;
+ ulong output_len;
ulong type;
} VAR_BUFFER;