About bug #6073 (and possible fix)
| From: | Jani Taskinen | Date: | Sun, 20 Aug 2000 10:39:20 +0000 |
| Subject: | About bug #6073 (and possible fix) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-29893@lists.php.net to get a copy of this message | ||
I confirm that the bug exists. But the fix is which
gets me confused..
Index: php_mysql.c
===================================================================
RCS file: /repository/php4/ext/mysql/php_mysql.c,v
retrieving revision 1.51
diff -u -r1.51 php_mysql.c
--- php_mysql.c 2000/07/05 20:41:06 1.51
+++ php_mysql.c 2000/08/20 10:35:48
@@ -1423,9 +1423,7 @@
case FIELD_TYPE_VAR_STRING:
return "string";
break;
-#ifdef FIELD_TYPE_TINY
case FIELD_TYPE_TINY:
-#endif
case FIELD_TYPE_SHORT:
case FIELD_TYPE_LONG:
case FIELD_TYPE_LONGLONG:
----
Why in the first place FIELD_TYPE_TINY has been put into #ifdef?
Removing it fixes the bug.
--Jani