From b7309408d65edc2365392bb4c24f7a39696a880b Mon Sep 17 00:00:00 2001 From: Aki Tuomi Date: Thu, 7 Mar 2019 13:19:04 +0200 Subject: [PATCH] gsqlbackend: Reset correct query in searchComments --- pdns/backends/gsql/gsqlbackend.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/backends/gsql/gsqlbackend.cc b/pdns/backends/gsql/gsqlbackend.cc index be803b88f..0c541e608 100644 --- a/pdns/backends/gsql/gsqlbackend.cc +++ b/pdns/backends/gsql/gsqlbackend.cc @@ -1682,7 +1682,7 @@ bool GSQLBackend::searchComments(const string &pattern, int maxResults, vectorreset(); + d_SearchCommentsQuery_stmt->reset(); return true; } -- 2.40.0