sql: make default type of NULL be boolean
It was decided that null value in SQL by default should be of type boolean. Justification of such change is that according to ANSI boolean type in fact has three different values: true, false and unknown. The latter is basically an alias to null value.
Showing
- src/box/sql/func.c 2 additions, 1 deletionsrc/box/sql/func.c
- test/sql-tap/cast.test.lua 2 additions, 2 deletionstest/sql-tap/cast.test.lua
- test/sql-tap/func.test.lua 6 additions, 6 deletionstest/sql-tap/func.test.lua
- test/sql-tap/table.test.lua 1 addition, 1 deletiontest/sql-tap/table.test.lua
- test/sql/checks.result 4 additions, 4 deletionstest/sql/checks.result
- test/sql/drop-table.result 1 addition, 1 deletiontest/sql/drop-table.result
- test/sql/gh-2981-check-autoinc.result 4 additions, 4 deletionstest/sql/gh-2981-check-autoinc.result
- test/sql/types.result 5 additions, 5 deletionstest/sql/types.result
Loading
Please register or sign in to comment