This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
zhangyang-zerotierone/ext/librethinkdbxx/test/upstream/regression/4582.yaml
2017-11-02 07:05:11 -07:00

9 lines
582 B
YAML

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?')