src/Drivers/SimpleConnection.php 1 location
|
@@ 149-152 (lines=4) @@
|
146 |
|
|
147 |
|
$this->getConnection()->multi_query(implode(';', $queue)); |
148 |
|
|
149 |
|
if ($this->getConnection()->error) { |
150 |
|
throw new DatabaseException('['.$this->getConnection()->errno.'] '. |
151 |
|
$this->getConnection()->error.' [ '.implode(';', $queue).']'); |
152 |
|
} |
153 |
|
|
154 |
|
$result = array(); |
155 |
|
$count = 0; |
src/Drivers/Mysqli/Connection.php 1 location
|
@@ 160-163 (lines=4) @@
|
157 |
|
$this->ensureConnection(); |
158 |
|
|
159 |
|
// HHVM bug (2015/07/07, HipHop VM 3.8.0-dev (rel)): $mysqli->error and $mysqli->errno aren't set |
160 |
|
if (!$this->getConnection()->multi_query(implode(';', $queue))) { |
161 |
|
throw new DatabaseException('['.$this->getConnection()->errno.'] '. |
162 |
|
$this->getConnection()->error.' [ '.implode(';', $queue).']'); |
163 |
|
}; |
164 |
|
|
165 |
|
return new MultiResultSet($this, $count); |
166 |
|
} |