LibreCat / Catmandu-DBI

A Catmandu::Store plugin for DBI based interfaces
Other
0 stars 1 forks source link

revert commit 619bec3131738e8fc242d8ce67e20dfa9b8b4046 #22

Closed nicolasfranck closed 6 years ago

nicolasfranck commented 6 years ago

Both DBD::Pg and DBD::mysql fetch ALL records into memory during an "$sth->execute". While this behaviour is not reported for DBD::mysql, this can be tested easily.

Only DBD::SQLite seems to do it right.

So it is better to revert to the old behaviour: fetching in small batches.