gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r3303 - GNUnet/src/applications/sqstore_sqlite


From: grothoff
Subject: [GNUnet-SVN] r3303 - GNUnet/src/applications/sqstore_sqlite
Date: Thu, 24 Aug 2006 19:11:03 -0700 (PDT)

Author: grothoff
Date: 2006-08-24 19:11:02 -0700 (Thu, 24 Aug 2006)
New Revision: 3303

Modified:
   GNUnet/src/applications/sqstore_sqlite/sqlite.c
Log:
fix

Modified: GNUnet/src/applications/sqstore_sqlite/sqlite.c
===================================================================
--- GNUnet/src/applications/sqstore_sqlite/sqlite.c     2006-08-25 02:08:59 UTC 
(rev 3302)
+++ GNUnet/src/applications/sqstore_sqlite/sqlite.c     2006-08-25 02:11:02 UTC 
(rev 3303)
@@ -154,12 +154,9 @@
   ret = MALLOC(sizeof(sqliteHandle *));
   /* Open database and precompile statements */
   if (sqlite3_open(db->fn, &ret->dbh) != SQLITE_OK) {
-    PTHREAD_REL_SELF(ret->tid);
-    GE_LOG(ectx, GE_ERROR | GE_BULK | GE_USER,
+    GE_LOG(ectx, 
+          GE_ERROR | GE_BULK | GE_USER,
           _("Unable to initialize SQLite.\n"));
-    GROW(db->handles,
-        db->handle_count,
-        db->handle_count - 1);
     FREE(ret);
     return NULL;
   }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]