annotate tests/init.ur @ 1437:493e087f5479

Exit periodic loop if a ROLLBACK fails, to avoid infinite looping when the database server is brought down
author Adam Chlipala <adam@chlipala.net>
date Fri, 18 Mar 2011 09:12:55 -0400
parents 8a169fc0838b
children
rev   line source
adamc@1073 1 sequence seq
adamc@1073 2 table fred : {A : int, B : int}
adamc@1073 3
adam@1348 4 task initialize = fn () =>
adamc@1073 5 setval seq 1;
adamc@1073 6 dml (INSERT INTO fred (A, B) VALUES (0, 1))