Skip to content
This repository was 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
egorrishe wants to merge 1 commit into
cr0t:masterfrom
egorrishe:master
Open

fix. yiiDebugDB. Wrong count of queries if YII_DEBUG == FALSE.#16
egorrishe wants to merge 1 commit into
cr0t:masterfrom
egorrishe:master

Conversation

@egorrishe

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread XWebDebugRouter.php
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
Copy Markdown
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

cr0t commented Feb 15, 2016

Copy link
Copy Markdown
Owner

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

@egorrishe

Copy link
Copy Markdown
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