Skip to content

Commit

Permalink
[CBRD-25393] allow default attr create view from select null column (#…
Browse files Browse the repository at this point in the history
…1787)

http://jira.cubrid.org/browse/CBRD-25393

CUBRID/cubrid#5241

fix failed testcases of 'create view' to allow Oracle style create view without rigid type checks.
  • Loading branch information
vimkim authored Aug 12, 2024
1 parent 749be4e commit b68f5d7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 4 additions & 2 deletions sql/_13_issues/_10_1h/answers/bug_2922.answer
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,11 @@ a
===================================================
0
===================================================
Error:-494
0
0
===================================================
Error:-494
0
0
===================================================
0
===================================================
Expand Down
5 changes: 2 additions & 3 deletions sql/_13_issues/_10_1h/cases/bug_2922.sql
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,10 @@ select * from too;
drop poo, ooo, too;

-------------------------------
-- error
create view v1 (n) as select null from db_root;
create view v1 as select null as n from db_root;

-- success
create view v1 (n) as select null from db_root; drop v1;
create view v1 as select null as n from db_root; drop v1;
create view v1 (n int) as select null from db_root;
select * from v1;
drop view v1;
Expand Down

0 comments on commit b68f5d7

Please sign in to comment.