Home » Database » SQL_Parser » Bug #4088
c-style block comments not handled
Details
| Submitted | 2005-04-06 19:49 UTC |
|---|---|
| From | epte at ruffdogs dot com |
| Assigned | cybot |
| Status | Closed |
| Package | SQL_Parser |
| PHP Version | 4.3.8 |
| Roadmaps | 0.5.1 |
Comments
[2005-04-06 19:49 UTC] epte at ruffdogs dot com
Description:
------------
MySQL allows c-style block comments as valid comments. The following code (from mysqldump) breaks:
Reproduce code:
---------------
/*!40000 ALTER TABLE `mpn_bannerfinish` ENABLE KEYS */;
Actual result:
--------------
Parse error: Unknown action :/ on line 2
/*!40000 ALTER TABLE `mpn_bannerfinish` ENABLE KEYS */;
^ found: "/"