]> git.sommitrealweird.co.uk Git - onak.git/commitdiff
cscvs to tla changeset 89
authorJonathan McDowell <noodles@earth.li>
Mon, 31 May 2004 23:47:51 +0000 (23:47 +0000)
committerJonathan McDowell <noodles@earth.li>
Mon, 31 May 2004 23:47:51 +0000 (23:47 +0000)
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.

keydb_db3.c

index d3d35c85709a8d92ad489fb340f5654e8d3c2ab8..a50643d30769071e1ca097494ebb71c0427b0a95 100644 (file)
@@ -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 <assert.h>
@@ -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;