diff options
author | 2010-04-04 16:44:34 -0400 | |
---|---|---|
committer | 2010-04-04 16:44:34 -0400 | |
commit | 6cb5d479d9dc99ab433366a8c5641f2c8fd7c68c (patch) | |
tree | 084d96ea944f4365ae9d0a6b5894ecca892801ca /tests/policy.ur | |
parent | a88ce35c7521ff63415c234af64fc3c53aee7c9a (diff) |
Relax checking of table implications
Diffstat (limited to 'tests/policy.ur')
-rw-r--r-- | tests/policy.ur | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/policy.ur b/tests/policy.ur index 2b9fb4b3..bc4da5be 100644 --- a/tests/policy.ur +++ b/tests/policy.ur @@ -1,11 +1,11 @@ table fruit : { Id : int, Nam : string, Weight : float, Secret : string } -policy query_policy (SELECT fruit.Id, fruit.Nam FROM fruit) +policy query_policy (SELECT fruit.Id, fruit.Nam, fruit.Weight FROM fruit) fun main () = - xml <- queryX (SELECT fruit.Id, fruit.Nam, fruit.Secret + xml <- queryX (SELECT fruit.Id, fruit.Nam FROM fruit) - (fn x => <xml><li>{[x.Fruit.Secret]}</li></xml>); + (fn x => <xml><li>{[x.Fruit.Id]}: {[x.Fruit.Nam]}</li></xml>); return <xml><body> {xml} |