Changeset: eb05f2bf614a for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=eb05f2bf614a
Modified Files:
clients/mapiclient/tachograph.c
Branch: default
Log Message:
Honor the interactive flag setting
diffs (22 lines):
diff --git a/clients/mapiclient/tachograph.c b/clients/mapiclient/tachograph.c
--- a/clients/mapiclient/tachograph.c
+++ b/clients/mapiclient/tachograph.c
@@ -214,6 +214,9 @@ showBar(int level, lng clk, char *stmt)
lng i =0;
char line[BUFSIZ], *c;
+ if(interactive == 0)
+ return;
+
rendertime(duration,0);
printf("%s [", stamp);
if( prevprogress)
@@ -350,7 +353,7 @@ update(EventRecord *ev)
}
*q =0;
currentquery = qry;
- if( ! (prevquery && strcmp(currentquery,prevquery)== 0)
)
+ if( ! (prevquery && strcmp(currentquery,prevquery)== 0)
&& interactive )
printf("%s\n",qry);
prevquery = currentquery;
progressBarInit();
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list