annotate tests/aborter.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 b10132434adc
children
rev   line source
adamc@424 1 table t : {A : int}
adamc@424 2
adamc@424 3 fun main () : transaction page =
adamc@424 4 () <- dml (INSERT INTO t (A) VALUES (0));
adamc@424 5 return (error <xml>No way, Jose!</xml>)