@@ 101-103 (lines=3) @@ | ||
98 | { |
|
99 | $this->_conn = $conn; |
|
100 | $this->_stmt = $conn->prepare($prepareString); |
|
101 | if (false === $this->_stmt) { |
|
102 | throw new MysqliException($this->_conn->error, $this->_conn->sqlstate, $this->_conn->errno); |
|
103 | } |
|
104 | ||
105 | $paramCount = $this->_stmt->param_count; |
|
106 | if (0 < $paramCount) { |
|
@@ 172-174 (lines=3) @@ | ||
169 | } |
|
170 | } |
|
171 | ||
172 | if ( ! $this->_stmt->execute()) { |
|
173 | throw new MysqliException($this->_stmt->error, $this->_stmt->sqlstate, $this->_stmt->errno); |
|
174 | } |
|
175 | ||
176 | if (null === $this->_columnNames) { |
|
177 | $meta = $this->_stmt->result_metadata(); |
|
@@ 280-282 (lines=3) @@ | ||
277 | return false; |
|
278 | } |
|
279 | ||
280 | if (false === $values) { |
|
281 | throw new MysqliException($this->_stmt->error, $this->_stmt->sqlstate, $this->_stmt->errno); |
|
282 | } |
|
283 | ||
284 | $fetchMode = $fetchMode ?: $this->_defaultFetchMode; |
|
285 |