[LON-CAPA-cvs] cvs: loncom(version_1_1_X) /interface loncoursedata.pm

matthew lon-capa-cvs@mail.lon-capa.org
Fri, 30 Apr 2004 20:09:18 -0000


matthew		Fri Apr 30 16:09:18 2004 EDT

  Modified files:              (Branch: version_1_1_X)
    /loncom/interface	loncoursedata.pm 
  Log:
  Bug 2954.  MySQL CHAR columns need to be BINARY to be case-sensitive.
  
  
Index: loncom/interface/loncoursedata.pm
diff -u loncom/interface/loncoursedata.pm:1.112.2.1 loncom/interface/loncoursedata.pm:1.112.2.2
--- loncom/interface/loncoursedata.pm:1.112.2.1	Tue Mar  9 16:42:01 2004
+++ loncom/interface/loncoursedata.pm	Fri Apr 30 16:09:18 2004
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: loncoursedata.pm,v 1.112.2.1 2004/03/09 21:42:01 albertel Exp $
+# $Id: loncoursedata.pm,v 1.112.2.2 2004/04/30 20:09:18 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -581,7 +581,7 @@
                       restrictions => 'NOT NULL',
                       auto_inc     => 'yes', },
                     { name => 'part',
-                      type => 'VARCHAR(100)',
+                      type => 'VARCHAR(100) BINARY',
                       restrictions => 'NOT NULL'},
                     ],
         'PRIMARY KEY' => ['part (100)'],
@@ -596,10 +596,10 @@
                       restrictions => 'NOT NULL',
                       auto_inc     => 'yes', },
                     { name => 'student',
-                      type => 'VARCHAR(100)',
+                      type => 'VARCHAR(100) BINARY',
                       restrictions => 'NOT NULL'},
                     { name => 'classification',
-                      type => 'varchar(100)', },
+                      type => 'varchar(100) BINARY', },
                     ],
         'PRIMARY KEY' => ['student (100)'],
         'KEY' => [{ columns => ['student_id']},],
@@ -616,9 +616,9 @@
                     { name => 'fullupdatetime',
                       type => 'INT UNSIGNED'},
                     { name => 'section',
-                      type => 'VARCHAR(100)'},
+                      type => 'VARCHAR(100) BINARY'},
                     { name => 'classification',
-                      type => 'VARCHAR(100)', },
+                      type => 'VARCHAR(100) BINARY', },
                     ],
         'PRIMARY KEY' => ['student_id'],
     };
@@ -636,7 +636,7 @@
                       type => 'MEDIUMINT UNSIGNED',
                       restrictions => 'NOT NULL' },
                     { name => 'part',
-                      type => 'VARCHAR(100)',
+                      type => 'VARCHAR(100) BINARY',
                       restrictions => 'NOT NULL'},                    
                     { name => 'solved',
                       type => 'TINYTEXT' },
@@ -716,7 +716,7 @@
                     { name => 'awarddetail',
                       type => 'TINYTEXT' },
 #                    { name => 'message',
-#                      type => 'CHAR' },
+#                      type => 'CHAR BINARY' },
                     { name => 'response_specific',
                       type => 'TINYTEXT' },
                     { name => 'response_specific_value',