]> granicus.if.org Git - pdns/commitdiff
Merge branch 'master' into postgres-stmt-name-collision
authorChristian Hofstaedtler <christian.hofstaedtler@deduktiva.com>
Thu, 9 Mar 2017 23:38:38 +0000 (00:38 +0100)
committerGitHub <noreply@github.com>
Thu, 9 Mar 2017 23:38:38 +0000 (00:38 +0100)
1  2 
modules/gpgsqlbackend/spgsql.cc
modules/gpgsqlbackend/spgsql.hh

index 0083a72c7f01f566ad338526729c55408113be1f,2b400403957cbb6734ceca5509ba409485c6e1ed..22eaf0e0483f6def4924d88a9e41a163928fdf60
@@@ -47,7 -46,11 +46,12 @@@ public
      paramValues = NULL;
      paramLengths = NULL;
      d_do_commit = false;
 +    d_nstatement = nstatement;
+     d_paridx = 0;
+     d_residx = 0;
+     d_resnum = 0;
+     d_fnum = 0;
+     d_cur_set = 0;
    }
  
    SSqlStatement* bind(const string& name, bool value) { return bind(name, string(value ? "t" : "f")); }
Simple merge