PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Database » SQL_Parser » Bug #4089

IF EXISTS not recognized in DROP statements

Details

Submitted2005-04-06 19:51 UTC
Fromepte at ruffdogs dot com
Assignedalan_k
StatusClosed
PackageSQL_Parser
PHP VersionIrrelevant
Roadmaps0.5.1

Comments

[2005-04-06 19:51 UTC] epte at ruffdogs dot com

Description:
------------
This sql breaks:

Reproduce code:
---------------
DROP TABLE IF EXISTS `mpn_bannerfinish`;

Actual result:
--------------
Parse error: Expected a table name on line 7
DROP TABLE IF EXISTS `mpn_bannerfinish`;
^ found: "IF"