From: ivan Date: Wed, 18 Jan 2012 03:13:09 +0000 (+0000) Subject: use ENGINE rather than TYPE for compatibility with recent MySQL X-Git-Tag: freeside_2_3_1~11 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=4bc228b47ccbaa931df319d14f853a441e0de0c9 use ENGINE rather than TYPE for compatibility with recent MySQL --- 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'; } ###