Changeset: bdab4a8ac379 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/bdab4a8ac379 Modified Files: sql/backends/monet5/sql.c Branch: returning Log Message:
fix variable initialization/goto mix up diffs (24 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 @@ -5527,6 +5527,9 @@ SQLread_dump_rel(Client cntxt, MalBlkPtr { mvc *m = NULL; str msg = NULL; + buffer *b = NULL; + stream *s = NULL; + char *res = NULL; str *r = getArgReference_str(stk, pci, 0); char *input = *getArgReference_str(stk, pci, 1); @@ -5544,10 +5547,6 @@ SQLread_dump_rel(Client cntxt, MalBlkPtr if (!rel) throw(SQL, "SQLread_dump_rel", SQLSTATE(42000) "failed to read relational plan"); - buffer *b = NULL; - stream *s = NULL; - char *res = NULL; - b = buffer_create(1024); if(b == NULL) goto bailout; _______________________________________________ checkin-list mailing list -- checkin-list@monetdb.org To unsubscribe send an email to checkin-list-le...@monetdb.org