[Solar-svn] Revision 3064

pmjones at solarphp.com pmjones at solarphp.com
Tue Apr 1 12:21:37 CDT 2008


Solar_Sql_Adapter: [CHG] Exceptions now include a 'data' key to see what data was bound to the query.



Modified: trunk/Solar/Sql/Adapter.php
===================================================================
--- trunk/Solar/Sql/Adapter.php	2008-04-01 14:31:50 UTC (rev 3063)
+++ trunk/Solar/Sql/Adapter.php	2008-04-01 17:21:35 UTC (rev 3064)
@@ -513,6 +513,7 @@
                     'user'      => $this->_config['user'],
                     'name'      => $this->_config['name'],
                     'stmt'      => $stmt,
+                    'data'      => $data,
                     'pdo_trace' => $e->getTraceAsString(),
                 )
             );
@@ -573,6 +574,7 @@
                     'user'      => $this->_config['user'],
                     'name'      => $this->_config['name'],
                     'stmt'      => $stmt,
+                    'data'      => $data,
                     'pdo_trace' => $e->getTraceAsString(),
                 )
             );




More information about the Solar-svn mailing list