Changeset: 970347a1859a for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=970347a1859a
Modified Files:
sql/backends/monet5/sql.c
Branch: copybinary
Log Message:
More refactor
diffs (13 lines):
diff --git a/sql/backends/monet5/sql.c b/sql/backends/monet5/sql.c
--- a/sql/backends/monet5/sql.c
+++ b/sql/backends/monet5/sql.c
@@ -3332,7 +3332,8 @@ mvc_bin_import_table_wrap(Client cntxt,
msg = createException(SQL, "sql",
SQLSTATE(HY013) MAL_MALLOC_FAIL);
goto bailout;
}
- if (!(c =
BATattach_bstream(col->type.type->localtype, s, ws, cnt))) {
+ c =
BATattach_bstream(col->type.type->localtype, s, ws, cnt);
+ if (!c) {
bstream_destroy(s);
msg = createException(SQL, "sql",
SQLSTATE(HY013) MAL_MALLOC_FAIL);
goto bailout;
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list