@@ -237,14 +237,22 @@ class MySqlPlatformTest extends AbstractPlatformTestCase
...
@@ -237,14 +237,22 @@ class MySqlPlatformTest extends AbstractPlatformTestCase
protectedfunctiongetQuotedColumnInPrimaryKeySQL()
protectedfunctiongetQuotedColumnInPrimaryKeySQL()
{
{
returnarray(
returnarray(
'CREATE TABLE `quoted` (`key` VARCHAR(255) NOT NULL, PRIMARY KEY(`key`)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'
'CREATE TABLE `quoted` (`create` VARCHAR(255) NOT NULL, PRIMARY KEY(`create`)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'
);
);
}
}
protectedfunctiongetQuotedColumnInIndexSQL()
protectedfunctiongetQuotedColumnInIndexSQL()
{
{
returnarray(
returnarray(
'CREATE TABLE `quoted` (`key` VARCHAR(255) NOT NULL, INDEX IDX_22660D028A90ABA9 (`key`)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'
'CREATE TABLE `quoted` (`create` VARCHAR(255) NOT NULL, INDEX IDX_22660D028FD6E0FB (`create`)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'
);
}
protectedfunctiongetQuotedColumnInForeignKeySQL()
{
returnarray(
'CREATE TABLE `quoted` (`create` VARCHAR(255) NOT NULL, foo VARCHAR(255) NOT NULL) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB',