|
@@ -137,7 +137,7 @@ |
|
|
block discarded – undo |
|
137
|
137
|
if ($this->fetchStarted && $this->tdbmService->getConnection()->getDatabasePlatform() instanceof MySqlPlatform) { |
|
138
|
138
|
// Optimisation: we don't need a separate "count" SQL request in MySQL. |
|
139
|
139
|
assert($this->statement instanceof Statement || $this->statement instanceof Result); |
|
140
|
|
- $this->count = (int)$this->statement->rowCount(); |
|
|
140
|
+ $this->count = (int) $this->statement->rowCount(); |
|
141
|
141
|
return $this->count; |
|
142
|
142
|
} |
|
143
|
143
|
return $this->getRowCountViaSqlQuery(); |
Please login to merge, or discard this patch.