EllisLab/CodeIgniter — pull request #1537 by hamiltonmascioli (2012-06-26 15:36:06+00:00)
Title: Add delayed option to active record insert class

I added an additional BOOL argument (defaulted to FALSE) to the INSERT active record method to DELAY the insert if TRUE. When not using batch inserts and iterating inserts via a loop over a long period of time will sometimes require an INSERT DELAYED option to ensure the server can process the request for MYISAM tables safely.