Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.8.5

Request #12540 Index length tag not documented
Submitted: 2007-11-28 05:50 UTC Modified: 2008-01-29 20:14 UTC
From: yunosh Assigned: ifeghali
Status: Closed Package: MDB2_Schema
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  


 [2007-11-28 05:50 UTC] yunosh (Jan Schneider)
Description: ------------ You can specify an index length, or rather a field length in the index specification. But this isn't documented anywhere: <index> <name>datatree_attribute_value</name> <field> <name>attribute_value</name> <length>255</length> </field> </index>

Comments

 [2008-01-23 06:03 UTC] ifeghali (Igor Feghali)
Hello Jan, Thank you for taking your time to submit this bug. This is not documented yet because it is not fully implemented in MDB2_Schema. This is already in the things to do list. Also on MDB2 mysql manager driver, line 696, it says that the sorting property is supported. By the other hand the length property seems to be handled on code. Lorenzo, what is the final word on that ? Please switch the bug back to MDB2_Schema with your reply. Regards, iGor.
 [2008-01-27 13:52 UTC] quipo (Lorenzo Alberton)
The index/field 'length' attribute is only used in the mysql/mysqli drivers, and ATM only sqlite supports the 'sorting' option. I have to investigate if the other DBMS' allow such option (and since when).
 [2008-01-29 20:14 UTC] ifeghali (Igor Feghali)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.