diff options
author | Adam Chlipala <adamc@hcoop.net> | 2010-04-13 16:30:46 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2010-04-13 16:30:46 -0400 |
commit | c4f4ed6ee7f6fe49d19ca68b9fff6735b8a86fec (patch) | |
tree | 4161156186558a96b0a98dfd068d7491bb518d83 /tests/policy.ur | |
parent | c77a8eb70eec73d741eccdf2c0705b28db847a92 (diff) |
Completely redid main Iflow logic; so far, policy and policy2 work
Diffstat (limited to 'tests/policy.ur')
-rw-r--r-- | tests/policy.ur | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/policy.ur b/tests/policy.ur index 69455cd7..fedc3fcb 100644 --- a/tests/policy.ur +++ b/tests/policy.ur @@ -9,9 +9,7 @@ table order : { Id : order, Fruit : fruit, Qty : int, Code : int } CONSTRAINT Fruit FOREIGN KEY Fruit REFERENCES fruit(Id) (* Everyone may knows IDs and names. *) -policy sendClient (SELECT fruit.Id - FROM fruit) -policy sendClient (SELECT fruit.Nam +policy sendClient (SELECT fruit.Id, fruit.Nam FROM fruit) (* The weight is sensitive information; you must know the secret. *) |