use ENGINE rather than TYPE for compatibility with recent MySQL
authorivan <ivan>
Wed, 18 Jan 2012 03:13:09 +0000 (03:13 +0000)
committerivan <ivan>
Wed, 18 Jan 2012 03:13:09 +0000 (03:13 +0000)
FS/FS/Schema.pm

index 4148919..be46f24 100644 (file)
@@ -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';
   }
 
   ###