cakephp/cakephp — pull request #460 by ichikaway (2012-02-04 02:37:50+00:00)
Title: Show bind params of prepared statement on sql debug element

I'm using DboSource::fetchAll() for prepared statement.
It shows only sql statement log on the sql debug element.
This patch shows bind value as follows.

select * from posts as Post where Post.id = ? or Post.id = ? , params[ 1, abc ]
select * from posts as Post where Post.id = :id or Post.id = :id2 , params[ id => 1, id2 => 2 ]