Changeset: d9be51707797 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=d9be51707797
Modified Files:
clients/mapiclient/stethoscope.c
Branch: default
Log Message:
Move debug statements aside
diffs (22 lines):
diff --git a/clients/mapiclient/stethoscope.c b/clients/mapiclient/stethoscope.c
--- a/clients/mapiclient/stethoscope.c
+++ b/clients/mapiclient/stethoscope.c
@@ -204,14 +204,16 @@ doProfile(void *d)
mapi_reconnect(dbh);
if (mapi_error(dbh))
die(dbh, hdl);
-#ifdef _DEBUG_STETHOSCOPE_
if (wthr->tid > 0) {
snprintf(id, 10, "[%d] ", wthr->tid);
+#ifdef _DEBUG_STETHOSCOPE_
printf("-- connection with server %s is %s\n", wthr->uri, id);
+#endif
} else {
+#ifdef _DEBUG_STETHOSCOPE_
printf("-- connection with server %s\n", wthr->uri);
+#endif
}
-#endif
/* set counters */
x = NULL;
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list