Mercurial > urweb
view tests/init.ur @ 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 | 8a169fc0838b |
children |
line wrap: on
line source
sequence seq table fred : {A : int, B : int} task initialize = fn () => setval seq 1; dml (INSERT INTO fred (A, B) VALUES (0, 1))