annotate tests/aborter.ur @ 876:025806b3c014

Demo compiles again with Postgres and MySQL; MySQL version lacks sequence code and so doesn't work yet
author Adam Chlipala <adamc@hcoop.net>
date Sun, 12 Jul 2009 16:09:54 -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>)