Skip to content

Bug fix: mock_add_resultset w/ regex and failure

With mock_add_resultset the combination of a regex in the sql attribute and the failure attribute did not work.

I extended t/023_statement_failure.t which demonstrates the error without the fix in DBD::Mock::db.

Merge request reports