sql: Implement Tarantool support in `Clear` b-tree method (#2145).
* Make `Clear` btree method use direct box_truncate(). * Add testcase. sql: Decode NULL promoting the pointer (#2145). * MsgPack decode of NULL in SQL connector didn't promote parse pointer. Add proper promotion. Add test. sql: Remove normalize_iter_type() from sql.c Remove the function definition. Use a similar function from index.h sql: Remove get_space_id() from sql.c Use SQLITE_PAGENO_TO_SPACEID/SQLITE_PAGENO_TO_INDEXID instead.
Showing
- src/box/sql.c 30 additions, 38 deletionssrc/box/sql.c
- src/box/sql/btree.c 1 addition, 16 deletionssrc/box/sql/btree.c
- src/box/sql/tarantoolInt.h 1 addition, 0 deletionssrc/box/sql/tarantoolInt.h
- src/box/sql/vdbeaux.c 1 addition, 0 deletionssrc/box/sql/vdbeaux.c
- test/box/sql-clear.result 139 additions, 0 deletionstest/box/sql-clear.result
- test/box/sql-clear.test.lua 29 additions, 0 deletionstest/box/sql-clear.test.lua
- test/box/sql-select-null.result 29 additions, 0 deletionstest/box/sql-select-null.result
- test/box/sql-select-null.test.lua 22 additions, 0 deletionstest/box/sql-select-null.test.lua
Loading
Please register or sign in to comment