Fix error handling in mysqli driver

PHP already handles an internal stack of error handlers
There is one: the one that was failing before the patch :)