annotate tests/pkey.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 d8217b4cb617
children
rev   line source
adamc@707 1 table t : {A : int, B : int}
adamc@707 2 PRIMARY KEY (A, B)
adamc@707 3
adamc@707 4 fun main () : transaction page =
adamc@707 5 queryI (SELECT * FROM t) (fn _ => return ());
adamc@707 6 return <xml/>