Sfoglia il codice sorgente

Resolves: #470084
Summary: Problems migrating from libdb-4.4 to libdb-4.7
Description: Removed the code to remove transaction logs for the db version
upgrade.

Noriko Hosoi 17 anni fa
parent
commit
b1c658eb1e
1 ha cambiato i file con 0 aggiunte e 9 eliminazioni
  1. 0 9
      ldap/servers/slapd/back-ldbm/dblayer.c

+ 0 - 9
ldap/servers/slapd/back-ldbm/dblayer.c

@@ -1620,15 +1620,6 @@ int dblayer_start(struct ldbminfo *li, int dbmode)
                           dblayer_strerror(return_value), 0);
                 return return_value;
             }
-            /* remove transaction logs */
-            return_value = dblayer_delete_transaction_logs(log_dir);
-            if (return_value)
-            {
-                LDAPDebug(LDAP_DEBUG_ANY,
-                  "dblayer_start: failed to remove old transaction logs (%d)\n",
-                  return_value, 0, 0);
-                return return_value;
-            }
             dbmode = DBLAYER_NORMAL_MODE;
 
             if ((return_value = dblayer_make_env(&pEnv, li)) != 0)