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

Bug #6481 <create/> tag behaves differently with several drivers
Submitted: 2006-01-12 16:45 UTC
From: kad at gulags dot org dot mx Assigned: lsmith
Status: Closed Package: MDB2_Schema
PHP Version: 5.0.5 OS: Linux
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 : 50 - 22 = ?

 
 [2006-01-12 16:45 UTC] kad at gulags dot org dot mx
Description: ------------ We had some MDB schemas which had a <create> tag by default (even when the DB was already created), using mysql driver that tag was silently ignored, but with sqlite driver fails. We changed the mdb schemas so they don't have the create tag (at that point the database is created already in all the cases), but I think the behaviour should be consistent through all the drivers, so far I have tested sqlite and mysql, dunno if the others are in the same case. MDB2: 1.156 2006/01/04 22:15:59 SQLite: 2.8.16 PHP: 5.0.5-2ubuntu1.1 MySQL: 4.0.24 Expected result: ---------------- consistent behaviour through all the drivers Actual result: -------------- mysql is silently ignored, sqlite raises an error

Comments

 [2006-01-13 09:58 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. This fix also required a change to the MDB2 sqlite driver.