view tests/init.ur @ 1947:619191c71abb

Compile-time error for periodic tasks in nonpersistent protocols
author Adam Chlipala <adam@chlipala.net>
date Sun, 29 Dec 2013 13:18:50 -0500
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))