From fec2293fe7e6fb3141e033495723df8a26c8da75 Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Wed, 22 Aug 2012 08:46:32 -0400 Subject: show_sql_query --- tests/showSql.ur | 5 +++++ tests/showSql.urp | 3 +++ 2 files changed, 8 insertions(+) create mode 100644 tests/showSql.ur create mode 100644 tests/showSql.urp (limited to 'tests') 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 + {[(SELECT t.A FROM t ORDER BY t.A DESC) : sql_query [] [] _ _]} + 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 -- cgit v1.2.3