yii2-debug icon indicating copy to clipboard operation
yii2-debug copied to clipboard

List of queries in debug panel is empty when Connection::enableProfiling is false

Open PowerGamer1 opened this issue 1 year ago • 0 comments

What steps will reproduce the problem?

Set \yii\db\Connection::enableProfiling to false and \yii\db\Connection::enableLogging to true.

What's expected?

All SQL queries are displayed in debug panel as usual but with empty (or hidden) "Duration" column.

What do you get instead?

The list of SQL queries is empty.

Additional info

Q A
Yii version 2.0.48.1
Yii version 2.1.23

PowerGamer1 avatar Jul 05 '23 12:07 PowerGamer1