From: Aki Tuomi Date: Mon, 6 Jun 2016 19:31:18 +0000 (+0300) Subject: rebase: gpgsql initialization X-Git-Tag: auth-4.0.0-rc1~5^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3088fd45250826c6cb3853bdb88521c1ac38d7e8;p=thirdparty%2Fpdns.git rebase: gpgsql initialization --- diff --git a/modules/gpgsqlbackend/spgsql.cc b/modules/gpgsqlbackend/spgsql.cc index e54a2bfb43..78393ed1e0 100644 --- a/modules/gpgsqlbackend/spgsql.cc +++ b/modules/gpgsqlbackend/spgsql.cc @@ -22,6 +22,11 @@ public: d_parent = db; d_prepared = false; d_nparams = nparams; + d_res = NULL; + d_res_set = NULL; + paramValues = NULL; + paramLengths = NULL; + d_do_commit = false; } SSqlStatement* bind(const string& name, bool value) { return bind(name, string(value ? "t" : "f")); }