[LON-CAPA-cvs] cvs: loncom /metadata_database/LONCAPA lonmetadata.pm

raeburn raeburn@source.lon-capa.org
Tue, 31 May 2011 14:45:53 -0000


raeburn		Tue May 31 14:45:53 2011 EDT

  Modified files:              
    /loncom/metadata_database/LONCAPA	lonmetadata.pm 
  Log:
  - TYPE=MYISAM was replaced with ENGINE=MYISAM in MySQL 4.
  - TYPE was deprecated in 4 and 5.0/5.1.  It is no longer supported in 5.5.
  
  
Index: loncom/metadata_database/LONCAPA/lonmetadata.pm
diff -u loncom/metadata_database/LONCAPA/lonmetadata.pm:1.32 loncom/metadata_database/LONCAPA/lonmetadata.pm:1.33
--- loncom/metadata_database/LONCAPA/lonmetadata.pm:1.32	Tue May 31 02:40:05 2011
+++ loncom/metadata_database/LONCAPA/lonmetadata.pm	Tue May 31 14:45:53 2011
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonmetadata.pm,v 1.32 2011/05/31 02:40:05 raeburn Exp $
+# $Id: lonmetadata.pm,v 1.33 2011/05/31 14:45:53 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -384,7 +384,7 @@
         $text .= 'idx_'.$colname.' ('.$colname.')';
         push (@Columns,$text);
     }
-    $request .= "(".join(", ",@Columns).") TYPE=MyISAM";
+    $request .= "(".join(", ",@Columns).") ENGINE=MyISAM";
     return $request;
 }