[eluser]sotoz[/eluser]
Hello I'm using insert_batch to mass insert 10.000 rows into a table in a database. I'm making some tests and I have noticed that sometimes all the 10.000 rows are getting inserted correctly but in some occasions I miss 100+ rows in my table's total count.
If one insert has wrong parameters (and could not obviously be inserted into the table due to field restrictions for example), it won't affect the other inserts into the table? Or if one insert fails it will rollback the whole insert_batch, like a transaction?
How can I debug insert_batch() for such an occasion?