sql: remove "PRAGMA case_sensitive_like"
According to ANSI, LIKE should match characters taking into account collations of arguments, and this is done in the next patch. In turn, this patch makes LIKE be always case sensitive and erases case_sensitive_like pragma. Alongside with it, code related to no-case LIKE optimization is removed as well. Part of #3589
Showing
- src/box/sql/func.c 1 addition, 36 deletionssrc/box/sql/func.c
- src/box/sql/pragma.c 0 additions, 7 deletionssrc/box/sql/pragma.c
- src/box/sql/pragma.h 48 additions, 56 deletionssrc/box/sql/pragma.h
- src/box/sql/sqlInt.h 1 addition, 6 deletionssrc/box/sql/sqlInt.h
- src/box/sql/whereexpr.c 8 additions, 51 deletionssrc/box/sql/whereexpr.c
- test/sql-tap/collation.test.lua 8 additions, 15 deletionstest/sql-tap/collation.test.lua
- test/sql-tap/like3.test.lua 1 addition, 1 deletiontest/sql-tap/like3.test.lua
- test/sql-tap/pragma.test.lua 1 addition, 17 deletionstest/sql-tap/pragma.test.lua
- test/sql/sql-debug.result 0 additions, 1 deletiontest/sql/sql-debug.result
Loading
Please register or sign in to comment