summaryrefslogtreecommitdiff
path: root/ext/mysql/php_mysql.c
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2001-10-08 06:28:16 +0000
committerDerick Rethans <derick@php.net>2001-10-08 06:28:16 +0000
commit009b8470eb6f271ccfff7a2fdb887a7b767f07f6 (patch)
tree6a194bef937d5688179219c189701f766f1b7d47 /ext/mysql/php_mysql.c
parentc7239f2b00d4a193663b253b213c8fe5fdd3c7c2 (diff)
downloadphp-git-009b8470eb6f271ccfff7a2fdb887a7b767f07f6.tar.gz
- Fix for bug #13592 (Patch by Markus Fischer <mfischer@guru.josefine.at>)
Diffstat (limited to 'ext/mysql/php_mysql.c')
-rw-r--r--ext/mysql/php_mysql.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c
index f6cdd17b9d..4990607b69 100644
--- a/ext/mysql/php_mysql.c
+++ b/ext/mysql/php_mysql.c
@@ -1927,6 +1927,11 @@ static void php_mysql_field_info(INTERNAL_FUNCTION_PARAMETERS, int entry_type)
strcat(buf, "enum ");
}
#endif
+#ifdef SET_FLAG
+ if (mysql_field->flags&SET_FLAG) {
+ strcat(buf, "set ");
+ }
+#endif
#ifdef AUTO_INCREMENT_FLAG
if (mysql_field->flags&AUTO_INCREMENT_FLAG) {
strcat(buf, "auto_increment ");