[Rt-commit] r6583 - rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/sbin

ruz at bestpractical.com ruz at bestpractical.com
Mon Dec 4 13:29:44 EST 2006


Author: ruz
Date: Mon Dec  4 13:29:44 2006
New Revision: 6583

Modified:
   rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/sbin/rt-setup-database.in

Log:
* comment out mysql check for now, as we havn't merged required changes yet

Modified: rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/sbin/rt-setup-database.in
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/sbin/rt-setup-database.in	(original)
+++ rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/sbin/rt-setup-database.in	Mon Dec  4 13:29:44 2006
@@ -634,15 +634,15 @@
                 exit -1;
             }
         }
-        if ( $version >= 4.1 && $args{'action'} =~ /^(insert|schema)$/ ) {
-            print "MySQL >= 4.1, checking that user upgraded.\n" if $args{'debug'};
-            my $create_table = $dbh->selectrow_arrayref("SHOW CREATE TABLE Attachments")->[1];
-            unless ( $create_table =~ /\bContent\b[^,]*BLOB/i ) {
-                print STDERR "*** WARNING: RT since version 3.6 has new schema for MySQL versions after 4.1.0\n"
-                    ."Follow instructions in the UPGRADING.mysql file.\n";
-                sleep 3;
-            }
-        }
+#        if ( $version >= 4.1 && $args{'action'} =~ /^(insert|schema)$/ ) {
+#            print "MySQL >= 4.1, checking that user upgraded.\n" if $args{'debug'};
+#            my $create_table = $dbh->selectrow_arrayref("SHOW CREATE TABLE Attachments")->[1];
+#            unless ( $create_table =~ /\bContent\b[^,]*BLOB/i ) {
+#                print STDERR "*** WARNING: RT since version 3.6 has new schema for MySQL versions after 4.1.0\n"
+#                    ."Follow instructions in the UPGRADING.mysql file.\n";
+#                sleep 3;
+#            }
+#        }
     }
 }
 


More information about the Rt-commit mailing list