Changeset: a246365360a5 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a246365360a5
Modified Files:
sql/backends/monet5/sql.c
Branch: copybinary
Log Message:
tiny readability fix
diffs (20 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
@@ -3353,7 +3353,7 @@ mvc_bin_import_table_wrap(Client cntxt,
goto bailout;
}
-#define bufsiz (128 * BLOCK)
+ const size_t bufsiz = 128 * BLOCK;
char *buf = GDKmalloc(bufsiz);
if (buf == NULL) {
fclose(f);
@@ -3372,7 +3372,6 @@ mvc_bin_import_table_wrap(Client cntxt,
goto bailout;
}
}
-#undef bufsiz
fclose(f);
GDKfree(buf);
} else {
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list