Skip to content

Instantly share code, notes, and snippets.

@doctrinebot
Created December 13, 2015 18:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save doctrinebot/4a8c03e122b2cf817ef6 to your computer and use it in GitHub Desktop.
Save doctrinebot/4a8c03e122b2cf817ef6 to your computer and use it in GitHub Desktop.
Attachments to Doctrine Jira Issue DBAL-14 - https://github.com/doctrine/dbal/issues/1293
diff --git a/lib/Doctrine/DBAL/Platforms/MySqlPlatform.php b/lib/Doctrine/DBAL/Platforms/MySqlPlatform.php
index 358a3df..0545c31 100644
--- a/lib/Doctrine/DBAL/Platforms/MySqlPlatform.php
+++ b/lib/Doctrine/DBAL/Platforms/MySqlPlatform.php
@@ -389,7 +389,7 @@ class MySqlPlatform extends AbstractPlatform
// get the type of the table
if (isset($options['engine'])) {
- $optionStrings[] = 'ENGINE = ' . $engine;
+ $optionStrings[] = 'ENGINE = ' . $options['engine'];
} else {
// default to innodb
$optionStrings[] = 'ENGINE = InnoDB';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment