[MDB] unique type bug in schemasa
| From: | Thierry Bothorel | Date: | Tue, 13 Jan 2004 00:00:52 +0000 |
| Subject: | [MDB] unique type bug in schemasa | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-10137@lists.php.net to get a copy of this message | ||
Hi,
I noticed a small bug in MDB manager with Mysql, about indexes :
<index>
<name>UGANAT</name>
<unique>0</unique>
<field>
<name>UGANAT</name>
</field>
</index>
is not the same as
<index>
<name>UGANAT</name>
<field>
<name>UGANAT</name>
</field>
</index>
---------------
<unique>0</unique> should be the same as not writing the line at all (as
default is 0), but in fact <unique>0</unique> create a unique index,
as it it was <unique>1</unique> !!
Thierry Bothorel
--
Click here to answer / cliquez ci dessous pour me repondre
http://cerbermail.com/?7O7SOrggJg