Skip to content

Commit 8b0b4e0

Browse files
staabmclxmstaab
andauthored
fix typo (#397)
Co-authored-by: Markus Staab <[email protected]>
1 parent 08a2cb1 commit 8b0b4e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Analyzer/QueryPlanAnalyzerMysql.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ private function buildResult($it): QueryPlanResult
9191
} else {
9292
if (null !== $row['type'] && 'all' === strtolower($row['type']) && $row['rows'] >= $allowedRowsNotRequiringIndex) {
9393
$result->addRow($row['table'], QueryPlanResult::TABLE_SCAN);
94-
} elseif (true === $allowedUnindexedReads && $row['rows'] >= self::DEFAULT_UNINDEXED_READS_THRESHOLD) {
94+
} elseif (true === $allowedUnindexedReads && $row['rows'] >= QueryPlanAnalyzer::DEFAULT_UNINDEXED_READS_THRESHOLD) {
9595
$result->addRow($row['table'], QueryPlanResult::UNINDEXED_READS);
9696
} elseif (\is_int($allowedUnindexedReads) && $row['rows'] >= $allowedUnindexedReads) {
9797
$result->addRow($row['table'], QueryPlanResult::UNINDEXED_READS);

0 commit comments

Comments
 (0)