When an exception occurs directly inside the PDO class, the backtracing logic of the exception handler fails because the PDO classes are not explicitly listed there.

Comments

damien tournoud’s picture

Status: Active » Needs review
StatusFileSize
new1.11 KB
damien tournoud’s picture

StatusFileSize
new1.11 KB

Angie noted that checking for PDOStatement is now redundant.

damien tournoud’s picture

StatusFileSize
new1.07 KB

Uploaded the wrong patch.

webchick’s picture

Status: Needs review » Fixed

Damn, that's one ugly line of code. But the new check catches a wider range of PDO-related stuff, so seems correct.

Committed to HEAD. This should help us get SQLite tests passing. Woot! :)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.