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 09:42 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 09: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 10:24 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!