Why changes are made in "yiilile"? This file content is generated automatically. You should change "framework/db/CDbConnection.php" instead.