Changeset: 3c5457b969d5 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=3c5457b969d5
Modified Files:
gdk/gdk_bbp.c
Branch: Feb2013
Log Message:
BAT zero is never used
This means we have to return a NULL also in BBPquickdesc
diffs (12 lines):
diff --git a/gdk/gdk_bbp.c b/gdk/gdk_bbp.c
--- a/gdk/gdk_bbp.c
+++ b/gdk/gdk_bbp.c
@@ -2961,6 +2961,8 @@ BBPquickdesc(bat bid, int delaccess)
{
BAT *b = BBP_cache(bid);
+ if ( bid == 0)
+ return NULL;
if (bid < 0) {
GDKerror("BBPquickdesc: called with negative batid.\n");
assert(0);
_______________________________________________
checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list