diff options
author | Adam Chlipala <adam@chlipala.net> | 2011-05-30 07:48:08 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2011-05-30 07:48:08 -0400 |
commit | 8fa4027917a95498a0b354e614aaad7e0210e2d7 (patch) | |
tree | 5f109f795600afb68fac718401772c314afe3cbc /tests | |
parent | 5b421885fdfad728ab584ef15ec1873ec3bc2a05 (diff) |
Remember to remove explicit table projections in SQLite UPDATE SET values
Diffstat (limited to 'tests')
-rw-r--r-- | tests/t_t.ur | 3 | ||||
-rw-r--r-- | tests/t_t.urp | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/t_t.ur b/tests/t_t.ur new file mode 100644 index 00000000..9e38a30d --- /dev/null +++ b/tests/t_t.ur @@ -0,0 +1,3 @@ +table t : {A : int} + +task initialize = fn () => dml (UPDATE t SET A = A + 1 WHERE TRUE) diff --git a/tests/t_t.urp b/tests/t_t.urp new file mode 100644 index 00000000..12e96e39 --- /dev/null +++ b/tests/t_t.urp @@ -0,0 +1,5 @@ +dbms sqlite +database /tmp/test +sql t_t.sql + +t_t |