You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/DataCollector/QueryCollector.php
+10-4Lines changed: 10 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,7 @@ class QueryCollector extends PDOCollector
17
17
protected$queries = [];
18
18
protected$queryCount = 0;
19
19
protected$transactionEventsCount = 0;
20
+
protected$infoStatements = 0;
20
21
protected$softLimit = null;
21
22
protected$hardLimit = null;
22
23
protected$lastMemoryUsage;
@@ -472,6 +473,7 @@ public function reset()
472
473
{
473
474
$this->queries = [];
474
475
$this->queryCount = 0;
476
+
$this->infoStatements = 0 ;
475
477
}
476
478
477
479
/**
@@ -562,6 +564,7 @@ public function collect()
562
564
'sql' => '... ' . ($this->queryCount - $this->hardLimit) . ' additional queries are executed but now shown because of Debugbar query limits. Limits can be raised in the config (debugbar.options.db.soft/hard_limit)',
'sql' => '# Query hard limit for Debugbar is reached after ' . $this->hardLimit . ' queries, additional ' . ($this->queryCount - $this->hardLimit) . ' queries are not shown.. Limits can be raised in the config (debugbar.options.db.hard_limit)',
@@ -571,17 +574,20 @@ public function collect()
571
574
'sql' => '... ' . ($this->queryCount - $this->hardLimit) . ' additional queries are executed but now shown because of Debugbar query limits. Limits can be raised in the config (debugbar.options.db.hard_limit)',
'sql' => '# Query soft limit for Debugbar is reached after ' . $this->softLimit . ' queries, additional ' . ($this->queryCount - $this->softLimit) . ' queries only show the query. Limit can be raised in the config. Limits can be raised in the config (debugbar.options.db.soft_limit)',
->waitForText('600 statements were executed, 100 have been excluded (400 duplicates)')
240
+
->waitForText('Query soft and hard limit for Debugbar are reached. Only the first 100 queries show details. Queries after the first 500 are ignored. ')
0 commit comments