push
github
sql: throw duplicate column error for a view This patch fixes the bug: instruction box.execute([[CREATE TABLE t (a INTEGER PRIMARY KEY, a INTEGER);]]) and instruction box.execute([[CREATE VIEW v AS SELECT 1 AS a, 1 AS a;]]) have different behaviors. Now box.execute([[CREATE VIEW v as VIEW AS SELECT 1 AS a, 1 AS a;]]) returns an error: Space field 'a' is duplicate. Closes #4545 NO_DOC=bugfix (cherry picked from commit c704f81c2)
69818 of 117609 branches covered (59.36%)
1 of 2 new or added lines in 1 file covered. (50.0%)
50 existing lines in 16 files now uncovered.104789 of 119569 relevant lines covered (87.64%)
1413492.56 hits per line