Mercurial > urweb
annotate tests/init.ur @ 1418:22674ac8ebe6
Proper error handling for periodic tasks
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sun, 23 Jan 2011 18:16:30 -0500 |
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)) |