Skip to content
Snippets Groups Projects
Commit be9bf213 authored by Nick Zavaritsky's avatar Nick Zavaritsky Committed by Konstantin Osipov
Browse files

sql: Include primary key in secondary indices

Closes #2187

sql: Call Tarantool in OP_Clear explicitly

     * Restore sqlite3BtreeClearTable function since it's also used to
       truncate ephemeral tables which are backed by SQLite BTree-s.
       Ephemeral tables are needed to implement some SORT-s and JOIN-s.
     * OP_Clear truncates regular tables, backed by Tarantool storage
       layer. Invoke Tarantool truncate method explicitly from opcode
       handler.
     * Add regression test.
parent 8ba65478
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment