summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/textual.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/textual.cc b/src/textual.cc
index 5a9e2165..1d0d7998 100644
--- a/src/textual.cc
+++ b/src/textual.cc
@@ -36,6 +36,7 @@
#include "post.h"
#include "account.h"
#include "option.h"
+#include "query.h"
#include "pstream.h"
#include "pool.h"
#include "session.h"
@@ -508,8 +509,8 @@ void instance_t::automated_xact_directive(char * line)
}
std::auto_ptr<auto_xact_t> ae
- (new auto_xact_t(predicate_t(skip_ws(line + 1),
- keep_details_t(true, true, true))));
+ (new auto_xact_t(query_t(string(skip_ws(line + 1)),
+ keep_details_t(true, true, true))));
reveal_context = false;