Mercurial > urweb
view tests/sidecheck.ur @ 1936:6745eafff617
Start SQL transactions as read-only when possible, based on conservative program analysis
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Thu, 12 Dec 2013 17:42:48 -0500 |
parents | 154cfe2eb366 |
children |
line wrap: on
line source
fun main () : transaction page = s <- source 0; n <- get s; set s (n + 1); n' <- get s; return <xml>{[n']}</xml>