• Michael Widenius's avatar
    Added ha_maria::is_changed() (needed for Query cache) · 5dfba5e2
    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
    5dfba5e2
ha_maria.cc 106 KB