Quantcast
Channel: CodeIgniter Forums - All Forums
Viewing all articles
Browse latest Browse all 14115

insert_batch failure on empty array

$
0
0
The insert_batch function fails when the data array passed to it is empty. It is supposed to show a meaningful message when database debugging is enabled, but it doesn't. This is specially problematic if you use transactions as they remain open upon these errors and you have to manually kill them.

Viewing all articles
Browse latest Browse all 14115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>