• Sergei Golubchik's avatar
    cleanup: LOAD DATA replication support in IO_CACHE · 80e61ae2
    Sergei Golubchik authored
    remove some 14-year old code that added support for
    LOAD DATA replication to IO_CACHE:
    * three callbacks, of which only two were actually used and that
      were only needed for LOAD DATA replication but were
      tested in every IO_CACHE instance
    * an additional opaque void * argument in IO_CACHE, also only
      used for LOAD DATA replication, but present everywhere
    * the code to close IO_CACHE prematurely in LOAD DATA to have
      these callbacks called in the correct order and a long
      comment explaining what will happen if IO_CACHE is not
      closed prematurely
    * a variable to track whether IO_CACHE was closed prematurely
      (to avoid double-closing it)
    80e61ae2
mf_iocache.c 59.1 KB