diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-11-02 07:05:11 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-11-02 07:05:11 -0700 |
commit | 4e88c80a22b6ca982341413ee806ade0df57b4b7 (patch) | |
tree | 82c2daaac597f74595bc83c18646280a56898e1a /ext/librethinkdbxx/test/upstream/regression/4582.yaml | |
parent | a6203ed0389c1b995ebe94935b2d1ddeb01f36ee (diff) | |
download | infinitytier-4e88c80a22b6ca982341413ee806ade0df57b4b7.tar.gz infinitytier-4e88c80a22b6ca982341413ee806ade0df57b4b7.zip |
RethinkDB native connector work, minor fixes.
Diffstat (limited to 'ext/librethinkdbxx/test/upstream/regression/4582.yaml')
-rw-r--r-- | ext/librethinkdbxx/test/upstream/regression/4582.yaml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/librethinkdbxx/test/upstream/regression/4582.yaml b/ext/librethinkdbxx/test/upstream/regression/4582.yaml new file mode 100644 index 00000000..2a899720 --- /dev/null +++ b/ext/librethinkdbxx/test/upstream/regression/4582.yaml @@ -0,0 +1,9 @@ +desc: 4582 -- non-deterministic arguments to `replace` and `update`. +table_variable_name: tbl +tests: + - cd: tbl.get(0).replace(tbl.get(0)) + ot: err('ReqlQueryLogicError','Could not prove argument deterministic. Maybe you want to use the non_atomic flag?') + - cd: tbl.get(0).update(tbl.get(0)) + ot: err('ReqlQueryLogicError','Could not prove argument deterministic. Maybe you want to use the non_atomic flag?') + - cd: tbl.replace(r.args([tbl.get(0)])) + ot: err('ReqlQueryLogicError','Could not prove argument deterministic. Maybe you want to use the non_atomic flag?')
\ No newline at end of file |