From: Jonathan McDowell Date: Mon, 31 May 2004 23:47:51 +0000 (+0000) Subject: cscvs to tla changeset 89 X-Git-Tag: 0.2.1~22 X-Git-Url: http://the.earth.li/gitweb/?a=commitdiff_plain;h=2ffd5444d8c7a73b12039f3a6cf336872f2558c4;p=onak.git cscvs to tla changeset 89 Author: noodles Date: 2003/09/28 14:56:32 Don't dump the DB3 database within a transaction as it gets too big for it to deal with, ending in ENOMEM. --- diff --git a/keydb_db3.c b/keydb_db3.c index d3d35c8..a50643d 100644 --- a/keydb_db3.c +++ b/keydb_db3.c @@ -5,7 +5,7 @@ * * Copyright 2002 Project Purple * - * $Id: keydb_db3.c,v 1.17 2003/09/28 14:54:57 noodles Exp $ + * $Id: keydb_db3.c,v 1.18 2003/09/28 14:56:32 noodles Exp $ */ #include @@ -785,8 +785,6 @@ int dumpdb(char *filenamebase) int i; for (i = 0; i < numdbs; i++) { - starttrans(); - ret = dbconns[i]->cursor(dbconns[i], NULL, &cursor, @@ -811,8 +809,6 @@ int dumpdb(char *filenamebase) ret = cursor->c_close(cursor); cursor = NULL; - - endtrans(); } return 0;