Hello,
On 19 сен 19:20, Nikita Pettik wrote:
Each column may feature default value, but this value must be constant.The patch is OK. I've checked it into 2.0 branch.
Before this patch, it was allowed to do things like:
CREATE TABLE te14 (s1 INT PRIMARY KEY, s2 INT DEFAULT s1);
Which results in assertion fault on insertion. Lets prohibit IDs
(i.e. columns' names) in <DEFAULT> clause.
Closes #3695
---
Branch:
https://github.com/tarantool/tarantool/tree/np/gh-3695-disallow-ID-be-default
Issue: https://github.com/tarantool/tarantool/issues/3695