sql syntax error rollback patch with test

Hi Domm,

return() inside anon sub of catch {} does not terminate the apply_file() sql command execution. After some sql error command, following commands continue to be executed outside of transaction. Fixed by replacing return() with die().

Best regards
Jozef