RE: [PEAR] Problem with PEAR::MDB
| From: | Lukas Smith | Date: | Fri, 20 Jun 2003 11:54:19 +0000 |
| Subject: | RE: [PEAR] Problem with PEAR::MDB | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-6151@lists.php.net to get a copy of this message | ||
> From: Xavier Sosnowska [mailto:xso@ifrance.com]
> Sent: Friday, June 20, 2003 1:48 PM
>
> Oops, one last minute question: I see that the type of one of the
field is
> varchar. Actually, this field will also have the same length as it
will
> contain an MD5 value (length: 32), so a char type would be better than
a
> varchar. Is there any way to tell MDB to create a char column instead
of a
> varchar?
Actually MDB uses a CHAR, but MySQL turns it into a VARCHAR:
http://www.mysql.com/doc/en/Silent_column_changes.html
Regards,
Lukas