view tests/init.ur @ 1131:94e83c5533d2

Handling errors during commit
author Adam Chlipala <adamc@hcoop.net>
date Tue, 26 Jan 2010 14:59:19 -0500
parents 0657e5adc938
children 8a169fc0838b
line wrap: on
line source
sequence seq
table fred : {A : int, B : int}

task initialize =
    setval seq 1;
    dml (INSERT INTO fred (A, B) VALUES (0, 1))