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

Bug #8256 mapNativeDatatype incorrect regular expresions
Submitted: 2006-07-20 04:42 UTC Modified: 2006-07-20 05:24 UTC
From: ioz at ionosfera dot com Assigned: quipo
Status: Closed Package: MDB2 (version CVS)
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  


 [2006-07-20 04:42 UTC] ioz at ionosfera dot com (IoZ)
Description: ------------ In the mapNativeDatatype functions of Datatype libraries of most of the drivers, there are incorrect regular expressions when checking for the existence of 'is' or 'has' on the field names. This preg_match: preg_match('/^[is|has]/', $field['name']) must be: preg_match('/^(is|has)/', $field['name']) This causes returning boolean values when it isn't.

Comments

 [2006-07-20 05:24 UTC] quipo (Lorenzo Alberton)
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.