Test method "CActiveRecordTest::testFindBySinglePkBySingleSizeArrayWithMixedKeys()" has been added to expose issue #2216.
Test method "CActiveRecordTest::testFindBySinglePkBySingleSizeArrayWithMixedKeys()" converted to "CActiveRecordTest::testFindBySinglePkByArrayWithMixedKeys()", checking both single and multy size pk arrays.
"CDbCommandBuilder::createInCondition()" has been updated allowing to pass array of values with mixed keys for the single type column.
Issue #2216 has been added to CHANGELOG
Merge pull request #2227 from klimov-paul/2216-find-by-single-pk-by-array-with-mixed-keys

Fix for #2216 Active Record find by pk using array with mixed keys