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

Bug #6397 wrong boolean default value recognition
Submitted: 2006-01-02 19:26 UTC
From: mahono Assigned: lsmith
Status: Closed Package: MDB2_Schema
PHP Version: 4.4.1 OS: irrelevant?, tested on Debian
Roadmaps: (Not assigned)    
Subscription  
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:
MUST BE VALID
Solve the problem : 21 + 25 = ?

 
 [2006-01-02 19:26 UTC] mahono
Description: ------------ If I set a boolean default value of an xml schema file to a false value other than 0 (e.g. false, N) it is interpreted as true and I get a 'Y' with MySQL 5.0.16 Expected result: ---------------- N, n, false, 0: all must be (boolean)false Actual result: -------------- true

Comments

 [2006-01-03 08:58 UTC] lsmith
please try the CVS version of Parser.php
 [2006-01-04 19:56 UTC] lsmith
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.