tests
[m6w6/pq-gateway] / lib / pq / Query / Writer.php
index 55cb5a2089cfc1a5102b4465fe2b24205bd01dcd..f326f1ebc86a4e3d4d6808e04f4da3a08dcff66b 100644 (file)
@@ -139,6 +139,6 @@ class Writer
         * @return \pq\Result
         */
        function exec(\pq\Connection $c) {
-               return $c->execParams($this, $this->params, $this->types);
+               return $c->execParams($this, $this->getParams(), $this->getTypes());
        }
 }