Changeset: 8948090c571c for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=8948090c571c
Modified Files:
sql/backends/monet5/sql_result.c
Branch: Oct2014
Log Message:
Remove unnecessary BATextend and erroneous assert.
The BATextend can fail, and we want proper error handling if it does.
Moreover, just a few lines lower we do another BATextend with proper
error handling.
diffs (15 lines):
diff --git a/sql/backends/monet5/sql_result.c b/sql/backends/monet5/sql_result.c
--- a/sql/backends/monet5/sql_result.c
+++ b/sql/backends/monet5/sql_result.c
@@ -730,11 +730,6 @@ mvc_import_table(Client cntxt, mvc *m, b
if (locked) {
BAT *b = store_funcs.bind_col(m->session->tr,
col, RDONLY);
- if (sz > (lng) BATTINY)
- b = BATextend(b, (BUN) sz);
-
- assert(b != NULL);
-
HASHdestroy(b);
fmt[i].c = b;
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list