put autoinc_lock_mode back in