in reply to Re: DBI::fetchall_arrayref() error
in thread DBI::fetchall_arrayref() error

It seems the XS version returns undef after all data is returned:
/* to simplify application logic we return undef without an error * +/ /* if we've fetched all the rows and called with a batch_row_count +*/ return &sv_undef;
...but the code does not handle slices, and bounces it back to the perl sub.