DBIx and execute_array (adding ArrayTupleStatus)
am 03.08.2006 21:15:29 von Martin.EvansI am continuing work on DBIx::Log4perl because it helps my current
project but I've released it on CPAN in the hope it helps others. Whilst
writing my application I executed an execute_array without a
ArrayTupleStatus argument to execute_array but the method failed because
of a table constraint. Because the ArrayTupleStatus was not included I
got an error that was not too helpful.
My question is:
Is there any harm in a DBIx adding an ArrayTupleStatus to the call on to
DBI even if it was not present in the original call. In this way, the
DBIx could trap and record the error message even if the application
using DBI did not specify an ArrayTupleStatus.
Martin
--
Martin J. Evans
Easysoft Limited
http://www.easysoft.com