transaction commit Statement

transaction start

transaction cache on else msg="6 cache"; goto fail

write "1" on "1"

read xx from "1" else msg="6 read"; goto fail

transaction rollback

read xx from "1" then msg="6 read2"; goto fail

delete 1

transaction start

transaction cache off else msg="7 cache"; goto fail

write "1" on "1"

read xx from "1" then msg="7 read"; goto fail

transaction commit

read xx from "1" else msg="7 read2"; goto fail

delete 1

See Also

commit work Statement

rollback work Statement