Updates the rs_status table to indicate that autocorrection has been set to off.
create function string rs_autoc_off
for rs_iq_function_class
output language
'update rs_status
set endtime = current timestamp,
status = "X" where schema = ?rs_repl_objowner!sys?
and tablename = ?rs_deliver_as_name!sys?
and action = "A" and endtime is null;
insert into rs_status (schema, tablename, action, starttime, status) values
(?rs_repl_objowner!sys?,
?rs_deliver_as_name!sys?,
"R",
current timestamp,
"P");
commit'