Changeset: b132090f44cf for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=b132090f44cf
Modified Files:
clients/mapiclient/dump.c
Branch: Mar2018
Log Message:
Stick potential query call in better place.
diffs (20 lines):
diff --git a/clients/mapiclient/dump.c b/clients/mapiclient/dump.c
--- a/clients/mapiclient/dump.c
+++ b/clients/mapiclient/dump.c
@@ -1567,6 +1567,8 @@ dump_functions(Mapi mid, stream *toConso
wantSystem = 0;
}
+ hashge = has_hugeint(mid);
+
len = 5120 + (sname ? strlen(sname) : 0) + (fname ? strlen(fname) : 0);
query = malloc(len);
if (query == NULL) {
@@ -1599,7 +1601,6 @@ dump_functions(Mapi mid, stream *toConso
if (hdl == NULL || mapi_error(mid))
goto bailout;
prev_sid = 0;
- hashge = has_hugeint(mid);
while (!mnstr_errnr(toConsole) && mapi_fetch_row(hdl) != 0) {
long sid = strtol(mapi_fetch_field(hdl, 0), NULL, 10);
const char *schema = mapi_fetch_field(hdl, 1);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list