$ret check in core/PluginCallback.inc at line 64
"handles" the error by putting information in the
session and returning an error status for the AJAX
request. the error is now swallowed and not returned
to main.php.. therefore at the end of the request we
COMMIT instead of ROLLBACK.