Changeset: f17eb03a934e for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=f17eb03a934e
Modified Files:
sql/backends/monet5/miniseed/registrar.c
Branch: DVframework
Log Message:
BBPreleaselref --> BBPdecref. However these functions are still confusing.
Why do we have BBPreleaseref and BBPreleaselref, even though there is BBPdecref
with 2 arguments? Why BBPreleaselref, which calls BBPdecref (not in
gdk_private) internally, is defined in "gdk_private", whereas its sibling
BBPreleaseref is not?, etc.
diffs (20 lines):
diff --git a/sql/backends/monet5/miniseed/registrar.c
b/sql/backends/monet5/miniseed/registrar.c
--- a/sql/backends/monet5/miniseed/registrar.c
+++ b/sql/backends/monet5/miniseed/registrar.c
@@ -9,7 +9,6 @@
#include "sql_mvc.h"
#include "sql.h"
-#include "gdk_private.h"
/*
* keeps BAT and other properties of columns of a table.
@@ -513,7 +512,7 @@ str register_clean_up(temp_container* tc
{
for(c = 0; c < tc->num_columns[t]; c++)
{
- BBPreleaselref(tc->tables_columns[t].column_bats[c]);
+ BBPdecref(tc->tables_columns[t].column_bats[c], TRUE);
GDKfree(tc->tables_columns[t].column_names[c]);
GDKfree(tc->tables_columns[t].column_types_strs[c]);
}
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list