view tests/t_t.ur @ 1792:3d823d8424cc

Disallow suspending operations in <active code={...}>
author Adam Chlipala <adam@chlipala.net>
date Mon, 23 Jul 2012 09:03:41 -0400
parents 8fce85939259
children
line wrap: on
line source
table t : {A : int, B : string}

task initialize = fn () => dml (UPDATE t SET A = A + 1 WHERE TRUE);
                     dml (UPDATE t SET B = 'q' WHERE TRUE)