view tests/aborter2.ur @ 2237:e79ef5792c8b

Fix bug in redundancy checking and use finer formula for UPDATE statements.
author Ziv Scully <ziv@mit.edu>
date Sun, 05 Jul 2015 23:57:28 -0700
parents 7009b0ac1501
children
line wrap: on
line source
table t : { X : int }

fun main () : transaction page =
    v <- query (SELECT * FROM t)
         (fn r (_ : int) => return (error <xml>Shot down!</xml>))
         0;
    return <xml>Result: {[v]}</xml>