Changeset: 057fee8bdd56 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/057fee8bdd56
Modified Files:
sql/backends/monet5/sql_scenario.c
Branch: Jul2021
Log Message:
small fix solving endless loop, when Xexport has some error condition.
diffs (17 lines):
diff --git a/sql/backends/monet5/sql_scenario.c
b/sql/backends/monet5/sql_scenario.c
--- a/sql/backends/monet5/sql_scenario.c
+++ b/sql/backends/monet5/sql_scenario.c
@@ -1023,12 +1023,12 @@ SQLparser(Client c)
if (n == 2 || n == 3) {
if (n == 2)
len = m->reply_size;
+ in->pos = in->len; /* HACK: should use parsed
length */
if (mvc_export_chunk(be, out, v, off, len < 0 ?
BUN_NONE : (BUN) len)) {
msg = createException(SQL, "SQLparser",
SQLSTATE(45000) "Result set construction failed");
goto finalize;
}
- in->pos = in->len; /* HACK: should use parsed
length */
return MAL_SUCCEED;
}
if (strncmp(in->buf + in->pos, "close ", 6) == 0) {
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]