Logging Redux
Sometimes you come across a situation in the wild that seemingly defies all logic. This week was one of those. A European client (you can tell this is being written by a Brit as we tend not to see ourselves as European by default - even though we patently are) running a new hybrid AREV32/OI system reported a most unusual scenario. It manifested itself during a batch process - rows would be altered in AREV32, then the table would be selected on an indexed column and the resulting row set would omit the altered rows. If the rows were selected in OI then the altered rows would reappear as if by magic.Obviously, the client had forgotten to set the "Update before select flag" in the environment. Except they hadn't - it was there. So we span it on its head and created new indexes in AREV32, made alterations and retried selections. Now they worked in AREV32 but the same process failed in OI. To sum up, indexes would only be updated in the environment in which they were cre...