From 58c0125530989b867dcf0553114fb3396796ce95 Mon Sep 17 00:00:00 2001 From: Jaska Uimonen Date: Wed, 14 Mar 2018 14:09:33 +0200 Subject: [PATCH] domain-controller: debug-dump murphydb selections --- src/plugins/domain-control/notify.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/plugins/domain-control/notify.c b/src/plugins/domain-control/notify.c index e48fabd1..0da1a27e 100644 --- a/src/plugins/domain-control/notify.c +++ b/src/plugins/domain-control/notify.c @@ -63,7 +63,10 @@ static int collect_watch_notification(pep_watch_t *w) if (!exec_mql(mql_result_rows, &r, "select %s from %s%s%s", w->mql_columns, w->table->name, w->mql_where[0] ? " where " : "", w->mql_where)) { - mrp_debug("select from table %s failed", w->table->name); + mrp_debug("select from table %s (select %s from %s%s%s) failed", + w->table->name, + w->mql_columns, w->table->name, + w->mql_where[0] ? " where " : "", w->mql_where); goto fail; } }