yiisoft/yii — pull request #3637 by applee (2014-11-19 10:10:43+00:00)
Title: Update CDbCommandBuilder.php

Quote the primary key in count statement.