annotate tests/init.ur @ 1931:1a04b1edded2

Fix regression in http.c for long-polling connections; add lazy initialization of database connections, to avoid the overhead in handlers that don't use SQL
author Adam Chlipala <adam@chlipala.net>
date Wed, 11 Dec 2013 14:57:54 -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))