• Michael Widenius's avatar
    Added ha_maria::is_changed() (needed for Query cache) · 2b521320
    Michael Widenius authored
    
    storage/maria/ha_maria.cc:
      Added ha_maria::is_changed()
    storage/maria/ha_maria.h:
      Added ha_maria::is_changed()
    storage/maria/ma_delete.c:
      Mark that table changed
    storage/maria/ma_open.c:
      Ensure that info->state->changed is always reset from thr_lock()
    storage/maria/ma_state.c:
      Reset handler->state->changed at first usage of transactional table
      Reset handler->state->changed when taking lock for not transactional table
    storage/maria/ma_state.h:
      Added variable and function to track changes of table
    storage/maria/ma_update.c:
      Mark that table changed
    storage/maria/ma_write.c:
      Mark that table changed
    2b521320
ma_write.c 77.8 KB