view tests/aborter.ur @ 424:b10132434adc

Transactions seem to be working
author Adam Chlipala <adamc@hcoop.net>
date Fri, 24 Oct 2008 16:47:18 -0400
parents
children
line wrap: on
line source
table t : {A : int}

fun main () : transaction page =
    () <- dml (INSERT INTO t (A) VALUES (0));
    return (error <xml>No way, Jose!</xml>)