Hi Ralph,
On 09/13/2013 09:52 AM, Ralph Lange wrote:
On 13.09.2013 16:47, Ralph Lange wrote:
Maybe using a new magic number for TSE would be a cleaner solution:
"-3" = use timestamp of record that TSEL points to.
That would make things a lot more obvious and autoSaveRestore would
just work.
Dear fellow core-talkers,
Would that work? Or am I missing something?
I'm not sure how that could work.
Currently the pvlOptTSELisTime bit is set by recGblTSELwasModified()
being called after the link is initialized either from iocInit.c's
doResolveLinks() or from dbAccess.c's dbPutFieldLink(). At runtime if
recGblGetTimeStamp() sees the bit set it does not read TSE from TSEL
but just reads the timestamp through it instead.