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

Bug #4089 IF EXISTS not recognized in DROP statements
Submitted: 2005-04-06 14:51 UTC Modified: 2011-02-14 05:08 UTC
From: epte at ruffdogs dot com Assigned: alan_k
Status: Closed Package: SQL_Parser
PHP Version: Irrelevant OS:
Roadmaps: 0.5.1    
Subscription  


 [2005-04-06 14: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"

Comments

 [2007-06-28 11:29 UTC] cybot (Sebastian Mendel)
added a patch which introduce support for create table options from MySQL
 [2011-02-13 17:12 UTC] alan_k (Alan Knowles)
-Assigned To: cybot +Assigned To: alan_k
 [2011-02-14 05:08 UTC] alan_k (Alan Knowles)
-Status: Assigned +Status: Closed
This bug has been fixed in SVN. 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.