After inserting a row we have to add bulk of data to another table. When doing so loading never ends. but data is inserted properly. Bulk data in the sense around 1000 of records.
Loading never ends when i adding bulk data
- Single Page
Posted 04 January 2017 - 15:22 PM
Posted 18 January 2017 - 03:10 AM
Hi Akhil,
It might be quite possible the insertion may be causing a timeout. GC dose a ajax call - it needs to have a proper response from the call.. u work around using callback_after_insert.. now your inserts may have caused up the situation for the application to timeout.. thats where it might not be getting any positive update back from ajax and hence the loading didnt end.
A turnaround.. if possible - write a trigger that will do your work directly @the mysql level .. rather then doing it @the CI level..
Happy GCing :)