Mercurial > urweb
view demo/refFun.urs @ 2030:6add6d00ef5f
Call try_rollback before resetting the context
This will allow FFI cleanup handlers to complete.
author | Sergey Mironov <grrwlf@gmail.com> |
---|---|
date | Sun, 15 Jun 2014 21:13:12 +0000 |
parents | cb5897276abf |
children |
line wrap: on
line source
functor Make(M : sig type data val inj : sql_injectable data end) : sig type ref val new : M.data -> transaction ref val read : ref -> transaction M.data val write : ref -> M.data -> transaction unit val delete : ref -> transaction unit end