summaryrefslogtreecommitdiffstats
path: root/abs/extra/libgda/bdb43.patch
blob: 3fe6e937b94eeff218ca35d23056f29cef7a248a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff -r -u libgda-1.2.0.old/providers/bdb/gda-bdb-recordset.c libgda-1.2.0/providers/bdb/gda-bdb-recordset.c
--- libgda-1.2.0.old/providers/bdb/gda-bdb-recordset.c	2003-12-17 11:27:02.000000000 +0000
+++ libgda-1.2.0/providers/bdb/gda-bdb-recordset.c	2005-02-19 15:43:12.000000000 +0000
@@ -227,10 +227,14 @@
 
 	/* get the number of records in the database */
 	ret = dbp->stat (dbp,
+#if BDB_VERSION > 40300
+			 NULL,
+#endif
 			 &statp,
 #if BDB_VERSION < 40000
 			 NULL,
 #endif
+
 			 0);
 	if (ret != 0) {
 		gda_connection_add_error (cnc, gda_bdb_make_error (ret));