]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
rebase: gpgsql initialization
authorAki Tuomi <cmouse@cmouse.fi>
Mon, 6 Jun 2016 19:31:18 +0000 (22:31 +0300)
committerAki Tuomi <cmouse@cmouse.fi>
Mon, 6 Jun 2016 19:31:18 +0000 (22:31 +0300)
modules/gpgsqlbackend/spgsql.cc

index e54a2bfb4380741d958c7e066571cfc4d6ca33f8..78393ed1e0abd658fabf3f7ee09c1f9a0bb5298f 100644 (file)
@@ -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")); }