Update of /cvsroot/monetdb/sql/src/backends/monet5
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv24771
Modified Files:
sql.mx
Log Message:
Silence compilers
Index: sql.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet5/sql.mx,v
retrieving revision 1.375
retrieving revision 1.376
diff -u -d -r1.375 -r1.376
--- sql.mx 19 Dec 2009 19:27:14 -0000 1.375
+++ sql.mx 19 Dec 2009 19:37:05 -0000 1.376
@@ -4339,6 +4339,8 @@
sql_column *c;
mvc *m = NULL;
str msg = getContext(cntxt,mb, &m, NULL);
+ sql_trans *tr = m->session->tr;
+ BAT *b;
node *o;
char buf[BUFSIZ], *nme= buf;
int ret;
@@ -4356,8 +4358,12 @@
for (o = t->columns.set->h; o; o = o->next) {
c = o->data;
+ b = store_funcs.bind_col(tr, c, 0);
+ if (b == NULL)
+ throw(MAL,"sql.cluster","Can not access descriptor");
snprintf(buf,BUFSIZ,"%s/%s/%s/0", *sch, *tbl, c->base.name);
msg = @1;
+ BBPreleaseref(b->batCacheid);
}
return MAL_SUCCEED;
@c
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins