protected function executeOk($sql, $args) { $stm = $this->pdo->prepare($sql); $err = $this->pdo->errorInfo(); ok(!$err[1], $err[0]); $stm->execute($args); $err = $this->pdo->errorInfo(); ok(!$err[1]); return $stm; }