From: ivan Date: Wed, 18 Jan 2012 03:14:15 +0000 (+0000) Subject: use ENGINE rather than TYPE for compatibility with recent MySQL X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=0264f4933ae74d6eaceebbf0d73903b143bfea6c use ENGINE rather than TYPE for compatibility with recent MySQL --- diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm index d8e0f5c43..6727420ca 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'; } ###