commit-gnue
[Top][All Lists]
Advanced

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

gnue/geas/src/objectstore objectstore.c


From: Neil Tiffin
Subject: gnue/geas/src/objectstore objectstore.c
Date: Sat, 02 Jun 2001 15:16:47 -0700

CVSROOT:        /home/cvs
Module name:    gnue
Changes by:     Neil Tiffin <address@hidden>    01/06/02 15:16:47

Modified files:
        geas/src/objectstore: objectstore.c 

Log message:
        Bug Fix, would not compile with SELF_TEST option and PostgreSQL.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/geas/src/objectstore/objectstore.c.diff?cvsroot=OldCVS&tr1=1.60&tr2=1.61&r1=text&r2=text

Patches:
Index: gnue/geas/src/objectstore/objectstore.c
diff -u gnue/geas/src/objectstore/objectstore.c:1.60 
gnue/geas/src/objectstore/objectstore.c:1.61
--- gnue/geas/src/objectstore/objectstore.c:1.60        Fri Jun  1 17:24:34 2001
+++ gnue/geas/src/objectstore/objectstore.c     Sat Jun  2 15:16:47 2001
@@ -19,7 +19,7 @@
    along with GEAS; if not, write to the Free Software Foundation, Inc.,
    59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-   $Id: objectstore.c,v 1.60 2001/06/02 00:24:34 ntiffin Exp $
+   $Id: objectstore.c,v 1.61 2001/06/02 22:16:47 ntiffin Exp $
 */
 
 #include "config.h"
@@ -172,7 +172,7 @@
 {
   FILE *changefile;
   struct database_handle *h = NULL;
-  const char *database = get_first_active_database (configdata);     /* HACK
+  const char *database = get_first_active_database (configdata);     /* TODO 
HACK
                                                                         HACK
                                                                         HACK */
 
@@ -833,6 +833,7 @@
   l = database_list;
   while (l)
     {
+#ifdef USE_MYSQL
       struct database_handle *h = (struct database_handle *) l->data;
       struct MySQL_handle *mysql;
       struct MySQL_connection *c;
@@ -857,7 +858,10 @@
                *  "not " , c->base.available ? "" : "not "); */
             }
         }
-
+#endif
+#ifdef USE_POSTGRESQL
+#warning "TODO: Probably something should be here. - neilt"
+#endif
       l = g_list_next (l);
     }
 }



reply via email to

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