sql: Implement insert
Also update movetoUnpacked implementation to handle invocation from several more opcodes (used in INSERT-s). Handle tarantool error messages in SQL engine The caller of SQLite API-s MUST receive Tarantool error messages intact. They were formerly coerced to generic SQLITE_ERROR. sql: Implement delete Inconsistent CPP defines in sqlite:opcodes.c As usual, there're plenty of ifdef-s in sqlite code. Since internal sqlite source files are also used to build tarantool glue layer, it was inconvenient to pass the defines via sqlite library target properties in CMakeLists, so they are put into sqliteConfig.h instead. The later file wasn't included by (generated) opcodes.c, causing misery. sql: update the new iterator API to the latest 1.7. Report gh-2425
Showing
- extra/mkopcodec.tcl 1 addition, 0 deletionsextra/mkopcodec.tcl
- src/box/index.cc 7 additions, 0 deletionssrc/box/index.cc
- src/box/index.h 6 additions, 0 deletionssrc/box/index.h
- src/box/sql.c 56 additions, 10 deletionssrc/box/sql.c
- src/box/sql/btree.c 10 additions, 1 deletionsrc/box/sql/btree.c
- src/box/sql/main.c 2 additions, 0 deletionssrc/box/sql/main.c
- src/box/sql/sqlite.h.in 3 additions, 2 deletionssrc/box/sql/sqlite.h.in
- src/box/sql/tarantoolInt.h 5 additions, 6 deletionssrc/box/sql/tarantoolInt.h
- src/box/sql/vdbe.c 6 additions, 1 deletionsrc/box/sql/vdbe.c
- test/box/sql-transition.result 34 additions, 13 deletionstest/box/sql-transition.result
- test/box/sql-transition.test.lua 16 additions, 4 deletionstest/box/sql-transition.test.lua
Loading
Please register or sign in to comment