sql: remove PRAGMA "short_column_names"
The pragmas "short_column_names" and "full_column_names" allow us to use three ways to display the column name in metadata: 1) If both are turned off, then the column name was shown as it was written by the user. 2) If "short_column_names" = OFF and "full_column_names" = ON, then the column name is displayed as <table name>.<column name>. 3) If "short_column_names" = ON, then the column name is displayed as <column name>. This is the default option. But we need only two ways to show the column name: 1) Show the column name as <column name>. This should be the default option. 2) Show the column name as <table name>.<column name>. In this regard, we need only one of these pragmas. Part of #4511
Showing
- src/box/sql.c 1 addition, 2 deletionssrc/box/sql.c
- src/box/sql/pragma.h 30 additions, 38 deletionssrc/box/sql/pragma.h
- src/box/sql/select.c 4 additions, 10 deletionssrc/box/sql/select.c
- src/box/sql/sqlInt.h 0 additions, 1 deletionsrc/box/sql/sqlInt.h
- test/sql-tap/colname.test.lua 10 additions, 27 deletionstest/sql-tap/colname.test.lua
- test/sql-tap/select1.test.lua 3 additions, 10 deletionstest/sql-tap/select1.test.lua
- test/sql/sql-debug.result 0 additions, 1 deletiontest/sql/sql-debug.result
Loading
Please register or sign in to comment