Update of /cvsroot/monetdb/sql/src/backends/monet5
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv29219/backends/monet5
Modified Files:
sql.mx sql_bpm.mx
Log Message:
Comment the code in the proper way,
at least I learn that from the "scanning office" ;)
U sql_bpm.mx
Index: sql_bpm.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet5/sql_bpm.mx,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- sql_bpm.mx 10 Oct 2008 08:54:27 -0000 1.17
+++ sql_bpm.mx 23 Dec 2008 10:30:07 -0000 1.18
@@ -213,14 +213,14 @@
if (isTempTable(t) || isView(t))
return ;
for (n=t->columns.set->h; n; n = n->next) {
- //sql_column *c = n->data;
- //if (c->data && !bpm_add_partition(c->data))
- // return;
+ /*sql_column *c = n->data;
+ if (c->data && !bpm_add_partition(c->data))
+ return;*/
}
if (t->idxs.set) for (n=t->idxs.set->h; n; n = n->next) {
- //sql_idx *i = n->data;
- //if (i->data && !bpm_add_partition(i->data))
- // return;
+ /*sql_idx *i = n->data;
+ if (i->data && !bpm_add_partition(i->data))
+ return;*/
}
}
@@ -256,9 +256,9 @@
str
send_part(sql_column *col, int part, BAT *b, str *conn)
{
-// str tmp = NULL, ident = "romulo";
-// connection c;
-// sql_bpm *bpm = col->data;
+/* str tmp = NULL, ident = "romulo";
+ connection c;
+ sql_bpm *bpm = col->data;*/
(void)col;
(void)part;
@@ -277,8 +277,8 @@
*/
/*store the information about the fragment location*/
- //if (!bpm_set_part_location(bpm, part, *conn, ident))
- //throw(SQL, "mat.send_part", "The storage of the remote
location information failed!!");
+ /*if (!bpm_set_part_location(bpm, part, *conn, ident))
+ throw(SQL, "mat.send_part", "The storage of the remote location
information failed!!");*/
return MAL_SUCCEED;
}
@@ -327,12 +327,12 @@
str
get_part(sql_column *col, int part, ptr b)
{
-// str tmp, host = NULL, remote = NULL;
-// connection c;
-// sql_bpm *bpm = col->data;
+/* str tmp, host = NULL, remote = NULL;
+ connection c;
+ sql_bpm *bpm = col->data;*/
(void)col;
- //bpm_get_part_location(bpm, part, &host, &remote);
+ /*bpm_get_part_location(bpm, part, &host, &remote);*/
/* lookup conn */
/*
U sql.mx
Index: sql.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet5/sql.mx,v
retrieving revision 1.302
retrieving revision 1.303
diff -u -d -r1.302 -r1.303
--- sql.mx 21 Dec 2008 19:38:21 -0000 1.302
+++ sql.mx 23 Dec 2008 10:30:07 -0000 1.303
@@ -1026,7 +1026,7 @@
return NULL;
} else {
c->session->status = status;
- //printf("# falling back to direct mode \n");
+ /*printf("# falling back to direct mode \n");*/
s = output_semantic(c, sym);
}
} else {
@@ -3807,8 +3807,8 @@
BBPdecref(b->batCacheid, TRUE);
d = c->data;
- // its probably an empty bat which we shouldn't free
- //BBPdecref(d->ibid, TRUE);
+ /* its probably an empty bat which we shouldn't free
+ BBPdecref(d->ibid, TRUE);*/
d->bid = 0;
d->ibase = 0;
d->ibid = bid; /* use the insert bat */
------------------------------------------------------------------------------
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins