Index: branches/dev/data/module/MDB2/Extended.php
===================================================================
--- branches/dev/data/module/MDB2/Extended.php	(revision 15984)
+++ branches/dev/data/module/MDB2/Extended.php	(revision 15985)
@@ -501,4 +501,7 @@
         
         $stmt = $db->prepare($query, $param_types, $types);
+        
+        sfprintr($stmt);
+        
         if (PEAR::isError($stmt)) {
             return $stmt;
