ldap/admin/src/scripts/DSMigration.pm.in | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit 0762be835d519d82fd8627105874fd3cdd861278
Author: Endi S. Dewata <edewata(a)redhat.com>
Date: Tue Oct 5 16:31:20 2010 -0400
Bug 573889 - Migration does not remove deprecated schema
The DSMigration.pm has been modified such that it executes the
update scripts including removing deprecated schema.
diff --git a/ldap/admin/src/scripts/DSMigration.pm.in
b/ldap/admin/src/scripts/DSMigration.pm.in
index 38407ba..1bd594c 100644
--- a/ldap/admin/src/scripts/DSMigration.pm.in
+++ b/ldap/admin/src/scripts/DSMigration.pm.in
@@ -51,6 +51,7 @@ use Migration;
use DSUtil;
use Inf;
use DSCreate;
+use DSUpdate;
# tempfiles
use File::Temp qw(tempfile tempdir);
@@ -1042,6 +1043,10 @@ sub migrateDSInstance {
return @errs;
}
+ if (@errs = updateDS($mig)) {
+ return @errs;
+ }
+
# next, the databases
if (@errs = migrateDatabases($mig, $inst, $src, $dest)) {
return @errs;