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

Request #12540 Index length tag not documented
Submitted: 2007-11-28 10:50 UTC
From: yunosh Assigned: ifeghali
Status: Closed Package: MDB2_Schema
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Comments Add Comment Add patch

Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem : 3 + 5 = ?

 [2007-11-28 10: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>


 [2008-01-23 11: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 18: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-30 01:14 UTC] ifeghali (Igor Feghali)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on by the end of next Sunday (CET). If this was a problem with the 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.