Changeset: 1324852d9354 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=1324852d9354
Modified Files:
sql/backends/monet5/sql.mx
Branch: default
Log Message:
Fix compiler warning.
diffs (22 lines):
diff --git a/sql/backends/monet5/sql.mx b/sql/backends/monet5/sql.mx
--- a/sql/backends/monet5/sql.mx
+++ b/sql/backends/monet5/sql.mx
@@ -3707,7 +3707,7 @@ mvc_bin_import_table_wrap(Client cntxt,
for (i = pci->retc + 2, n = t->columns.set->h; i<pci->argc && n; i++, n
= n->next) {
sql_column *col = n->data;
- BAT *c;
+ BAT *c= NULL;
/* handle the various cases */
switch(col->type.type->localtype){
@@ -3744,6 +3744,9 @@ mvc_bin_import_table_wrap(Client cntxt,
}
fclose(f);
GDKfree(buf);
+ break;
+ default:
+ throw(SQL, "sql", "failed to attach file %s",
*(str*)getArgReference(stk, pci, i));
}
if (i!=(pci->retc + 2) && cnt != BATcount(c))
throw(SQL, "sql", "table %s not found", tname);
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list