diff options
author | ivan <ivan> | 2012-01-18 03:13:09 +0000 |
---|---|---|
committer | ivan <ivan> | 2012-01-18 03:13:09 +0000 |
commit | 4bc228b47ccbaa931df319d14f853a441e0de0c9 (patch) | |
tree | 6bced45974ea29c9727f34d17d2cd09249e4aa87 | |
parent | 6dda95db961112c4a422ebe282b6dfc7935be40e (diff) |
use ENGINE rather than TYPE for compatibility with recent MySQL
-rw-r--r-- | FS/FS/Schema.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm index 414891990..be46f24e3 100644 --- a/FS/FS/Schema.pm +++ b/FS/FS/Schema.pm @@ -70,7 +70,7 @@ sub dbdef { $dbdef; } Returns the current canoical database definition as defined in this file. Optionally, pass a DBI data source to enable syntax specific to that database. -Currently, this enables "TYPE=InnoDB" for MySQL databases. +Currently, this enables "ENGINE=InnoDB" for MySQL databases. =cut @@ -79,7 +79,7 @@ sub dbdef_dist { my $local_options = ''; if ( $datasrc =~ /^dbi:mysql/i ) { - $local_options = 'TYPE=InnoDB'; + $local_options = 'ENGINE=InnoDB'; } ### |