From 9af451ff4948bf3561716eeca670d345b6bc235b Mon Sep 17 00:00:00 2001 From: Ulf Wendel Date: Fri, 11 Sep 2009 12:16:56 +0000 Subject: 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. --- ext/mysqli/php_mysqli_structs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/mysqli/php_mysqli_structs.h') 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; -- cgit v1.2.1