Closed elkuku closed 11 years ago
:+1:
Is there a reason to not add it to the others? Oh yeah, and :+1:
Actually I only modified the drivers I was able to test, but functionality should be the same so I went ahead and changed the other ones too.
Is it just me or is the driver the wrong place to do these things?
This will pass the backtrace information to any attached logger when executing a database query in debug mode.
Currently implemented for
Mysql
,Mysqli
, "Pdo
",PostgreSql
, andSqlSrv
drivers.An example implementation might render like this: