• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
insert_batch failure on empty array

#1
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.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.