PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Database » MDB2_Schema » Bug #6481

<create/> tag behaves differently with several drivers

Details

Submitted2006-01-12 16:45 UTC
Fromkad at gulags dot org dot mx
Assignedlsmith
StatusClosed
PackageMDB2_Schema
PHP Version5.0.5
OSLinux
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