[Rt-commit] r15014 - rt/3.8/trunk/sbin
ruz at bestpractical.com
ruz at bestpractical.com
Mon Aug 11 16:40:03 EDT 2008
Author: ruz
Date: Mon Aug 11 16:40:02 2008
New Revision: 15014
Modified:
rt/3.8/trunk/sbin/rt-setup-database.in
Log:
* don't run post check in rt-setup-database script as we don't
know version of the DB what can be important during upgrades
as some checks only valid after upgrade
Modified: rt/3.8/trunk/sbin/rt-setup-database.in
==============================================================================
--- rt/3.8/trunk/sbin/rt-setup-database.in (original)
+++ rt/3.8/trunk/sbin/rt-setup-database.in Mon Aug 11 16:40:02 2008
@@ -233,7 +233,7 @@
$RT::Handle->dbh( undef );
RT::ConnectToDatabase();
RT::InitLogging();
- my ($status, $msg) = RT::Handle->CheckCompatibility( $RT::Handle->dbh, 'post' );
+ my ($status, $msg) = RT::Handle->CheckCompatibility( $RT::Handle->dbh, 'pre' );
return ($status, $msg) unless $status;
print "Now inserting RT core system objects\n";
@@ -244,7 +244,7 @@
my %args = @_;
$RT::Handle = new RT::Handle;
RT::Init();
- my ($status, $msg) = RT::Handle->CheckCompatibility( $RT::Handle->dbh, 'post' );
+ my ($status, $msg) = RT::Handle->CheckCompatibility( $RT::Handle->dbh, 'pre' );
return ($status, $msg) unless $status;
print "Now inserting data\n";
More information about the Rt-commit
mailing list