PHP 4.0 Bug #6294 Updated: Strange behaviour when using DB2
| From: | Bug Database | Date: | Tue, 22 Aug 2000 15:26:07 +0000 |
| Subject: | PHP 4.0 Bug #6294 Updated: Strange behaviour when using DB2 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-30202@lists.php.net to get a copy of this message | ||
ID: 6294
User Update by: ltning@anduin.net
Status: Open
Bug Type: ODBC related
Description: Strange behaviour when using DB2
I have been able to narrow the problem down to the useage of the "FOR BIT DATA" modifier
to the CHAR type.
To use the GENERATE_UNIQUE() function in DB2, one must have a CHAR(13) FOR BIT DATA field. When
working with a table with such a field, PHP seems to choke and do many strange things.. Now that I
redesigned the database into just using plain CHAR(13) fields (planning to use uniqid()), everything
seems to work a lot better.
-Eirik
Full Bug description available at: http://bugs.php.net/?id=6294