Re: Re: All executed queries in DB (Common?)
| From: | Lukas Smith | Date: | Wed, 19 Apr 2006 10:49:25 +0000 |
| Subject: | Re: Re: All executed queries in DB (Common?) | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-23742@lists.php.net to get a copy of this message | ||
Mark Wiesemann wrote:
Charlie van de Kerkhof wrote:I recently improved things here in CVS: http://pear.php.net/bugs/bug.php?id=4119 regards, LukasBut I have another question related to the originally subject. After $obj->update() I see the queries prepared and executed in my debug info, but both with the questionmarks:Seems to be a MDB2 problem / limitation as DB_Table has nothing to do with the query logging of MDB2. Maybe Lukas can comment on this?# query(1): SHOW /*!50002 FULL*/ TABLES # prepare(1): UPDATE bet SET user_id = ?, title = ?, price = ?, odd = ?, participants = ?, enddate = ?, id = ?, created_at = ?, updated_at = ? WHERE id = '2' # execute(1): UPDATE bet SET user_id = ?, title = ?, price = ?, odd = ?, participants = ?, enddate = ?, id = ?, created_at = ?, updated_at = ? WHERE id = '2' <<< Prepared query I understand, but the executed should be with the actual values? The record is updated. So it works, but that final query I can't see.