As nobody objected, within one week, I committed this patch to svn.
Current revision is 53.
ChangeLog:
Implemented configuration directives: limit-per-cycle (thanks to
Alejandro
Guerrieri for the original patch), save-dlr, save-mo, save-mt.
Speed improvements for messages sent via the insert-table should be
significant because we process batches of records both when selecting
and
inserting as well as deleting.
Thanks to Rinor Hoxha for reviewing the patch.
Besides, this patch allows for saving of the foreign id field in the
sql log table (all database engines). This is backward incompatible.
To continue a running installation perform:
alter table [log-table|insert-table] add column (foreign_id VARCHAR(255)
NULL);