diff options
author | Adam Chlipala <adamc@hcoop.net> | 2009-10-05 12:51:17 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2009-10-05 12:51:17 -0400 |
commit | d795d3e7d07b8770335b414fd1b0d32af41016c5 (patch) | |
tree | cff32a3f351a71dbf60b6e8109dde574f77bf89e /tests/user.ur | |
parent | 9964a6181187df8d3ab19a057d9185fc9a88d789 (diff) |
Mangle local table names to avoid keyword clashes in SQL
Diffstat (limited to 'tests/user.ur')
-rw-r--r-- | tests/user.ur | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/user.ur b/tests/user.ur new file mode 100644 index 00000000..c36fe407 --- /dev/null +++ b/tests/user.ur @@ -0,0 +1,5 @@ +table user : {A : int} + +fun main () = + r <- oneRow (SELECT COUNT( * ) AS N FROM user); + return <xml>{[r.N]}</xml> |