Fixed bug #11040: ENGINE modifier in ext_tables.sql cannot be parsed
authorSteffen Kamper <info@sk-typo3.de>
Fri, 8 May 2009 07:13:03 +0000 (07:13 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Fri, 8 May 2009 07:13:03 +0000 (07:13 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5397 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_sqlparser.php

index 515ce12..874fcc2 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-05-08  Steffen Kamper  <info@sk-typo3.de>
+
+       * Fixed bug #11040: ENGINE modifier in ext_tables.sql cannot be parsed
+
 2009-05-07  Oliver Hader  <oliver@typo3.org>
 
        * Added feature #10986: Convert from extension prefix to extension key
index 2a6425f..4ac3d75 100644 (file)
@@ -487,7 +487,7 @@ class t3lib_sqlparser {
 
                                // Finding what is after the table definition - table type in MySQL
                        if ($delim==')')        {
-                               if ($this->nextPart($parseString, '^(TYPE[[:space:]]*=)'))      {
+                               if ($this->nextPart($parseString, '^((ENGINE|TYPE)[[:space:]]*=)'))     {
                                        $result['tableType'] = $parseString;
                                        $parseString = '';
                                }