Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.

fix. yiiDebugDB. Wrong count of queries if YII_DEBUG == FALSE. #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

egorrishe
Copy link
Contributor

No description provided.

if ($row[2] == 'system.db.CDbCommand') {
if (strpos($row[0], 'Querying SQL') !== false) {

//if ($row[2] == 'system.db.CDbCommand') - It works only if YII_DEBUG == true
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Never commit commented code.

@cr0t
Copy link
Owner

cr0t commented Feb 15, 2016

Regarding commit message I would like to recommend you to read this post: http://chris.beams.io/posts/git-commit/

@egorrishe
Copy link
Contributor Author

Thx for advice!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants