summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/showSql.ur5
-rw-r--r--tests/showSql.urp3
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/showSql.ur b/tests/showSql.ur
new file mode 100644
index 00000000..c373b21c
--- /dev/null
+++ b/tests/showSql.ur
@@ -0,0 +1,5 @@
+table t : { A : int }
+
+fun main () : transaction page = return <xml><body>
+ {[(SELECT t.A FROM t ORDER BY t.A DESC) : sql_query [] [] _ _]}
+</body></xml>
diff --git a/tests/showSql.urp b/tests/showSql.urp
new file mode 100644
index 00000000..415248cd
--- /dev/null
+++ b/tests/showSql.urp
@@ -0,0 +1,3 @@
+database dbname=test
+
+showSql