Changeset: 7be7f972a798 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=7be7f972a798
Modified Files:
        clients/mapiclient/mclient.c
Branch: Mar2018
Log Message:

mclient: report per-query wall-clock time also in "--echo" mode;
like with "--interative", mclient also with "--echo" sends the
SQL script line-wise to the server
(and we hope each line contains at most one statement ...)


diffs (12 lines):

diff --git a/clients/mapiclient/mclient.c b/clients/mapiclient/mclient.c
--- a/clients/mapiclient/mclient.c
+++ b/clients/mapiclient/mclient.c
@@ -2884,7 +2884,7 @@ doFile(Mapi mid, stream *fp, bool useins
                        assert(prepno < 100);
                }
 
-               rc = format_result(mid, hdl, interactive);
+               rc = format_result(mid, hdl, interactive || echoquery);
 
                if (rc == MMORE && (line != NULL || mapi_query_done(hdl) != 
MOK))
                        continue;       /* get more data */
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to