[freeside-commits] freeside/FS/FS Schema.pm,1.317.2.30,1.317.2.31

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


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

Modified Files:
      Tag: FREESIDE_2_3_BRANCH
	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.317.2.30
retrieving revision 1.317.2.31
diff -u -w -d -r1.317.2.30 -r1.317.2.31
--- Schema.pm	13 Jan 2012 10:14:16 -0000	1.317.2.30
+++ Schema.pm	18 Jan 2012 03:13:09 -0000	1.317.2.31
@@ -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