Home » Database » MDB2_Schema » Bug #6481
<create/> tag behaves differently with several drivers
Details
| 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) |
Comments
[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