Commit cace50cf by Qiang Xue

use raw SQL for profiling.

parent fddd9467
......@@ -281,7 +281,7 @@ class Command extends \yii\base\Component
return 0;
}
$token = $sql;
$token = $rawSql;
try {
Yii::beginProfile($token, __METHOD__);
......@@ -403,7 +403,7 @@ class Command extends \yii\base\Component
}
}
$token = $sql;
$token = $rawSql;
try {
Yii::beginProfile($token, __METHOD__);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment