[freeside-commits] freeside/FS/FS Schema.pm,1.351,1.352

Ivan,,, ivan at wavetail.420.am
Tue Jan 17 19:14:17 PST 2012


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv20971

Modified Files:
	Schema.pm 
Log Message:
use ENGINE rather than TYPE for compatibility with recent MySQL

Index: Schema.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Schema.pm,v
retrieving revision 1.351
retrieving revision 1.352
diff -u -w -d -r1.351 -r1.352
--- Schema.pm	13 Jan 2012 10:13:55 -0000	1.351
+++ Schema.pm	18 Jan 2012 03:14:15 -0000	1.352
@@ -70,7 +70,7 @@
 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 @@
   
   my $local_options = '';
   if ( $datasrc =~ /^dbi:mysql/i ) {
-    $local_options = 'TYPE=InnoDB';
+    $local_options = 'ENGINE=InnoDB';
   }
 
   ###



More information about the freeside-commits mailing list