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

sql: Enforce scalar type for all indices

Due to the way LIKE operator is implemented, TEXT indices are looked up
with BLOB keys.

LIKE applies both to TEXT and BLOBs, hence a code is generated to lookup
a TEXT and then a BLOB even if column affinity is TEXT.

sql: btreeMoveto() should use MsgPack unpacker.

     * sqlite/src/btree (btreeMoveto): All data is stored in MsgPack
     format. This is yet another place where SQLite native format decoder
     is invoked for MsgPack data. Call MsgPack decoder instead.

sql: Fix some warnings and remove dead code

sql: Fix IdxKeyCompare once more

 * Incorrect format structure attributed was consulted for the field
   count.

 * Outdated formats were handled incorrectly - TUPLE_OFFSET_SLOT_NIL
   doesn't necessary designate a field immediately following the
   previously processed one.
parent 6789b073
No related branches found
No related tags found
Loading
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