• Olivier Bertrand's avatar
    - Modifies the way indexed UPDATE/DELETE are sorted in order to execute · 3a69c854
    Olivier Bertrand authored
      them sorted by file position. Firstly a new value is stored in indexes
      to know if they are sorted, preventing to do the sorting when it is not
      needed. Secondly, almost all in now done in connect instead of being
      done by the different file access method classes. This pepares the future
      use of temporary files for all table types and also fix the bug that was
      occuring when partially using a multi-column index because of false MRR
      like call of position followed by unsorted rnd_pos no more using indexing.
    modified:
      storage/connect/connect.cc
      storage/connect/filamap.cpp
      storage/connect/filamap.h
      storage/connect/filamdbf.cpp
      storage/connect/filamdbf.h
      storage/connect/filamfix.cpp
      storage/connect/filamfix.h
      storage/connect/filamtxt.cpp
      storage/connect/filamtxt.h
      storage/connect/filamvct.cpp
      storage/connect/filamvct.h
      storage/connect/tabdos.cpp
      storage/connect/tabdos.h
      storage/connect/tabfix.h
      storage/connect/tabfmt.cpp
      storage/connect/tabfmt.h
      storage/connect/xindex.cpp
      storage/connect/xindex.h
      storage/connect/xtable.h
    3a69c854
connect.cc 27.6 KB