Browse Source

[t:4179], handler changes for making optimize hot

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@38620 c7de825b-a66e-492c-adef-691d508d4ae1
pull/73/head
Zardosht Kasheff 13 years ago
committed by Yoni Fogel
parent
commit
f25d2a9d41
  1. 4
      storage/tokudb/ha_tokudb.cc
  2. 1
      storage/tokudb/ha_tokudb.h

4
storage/tokudb/ha_tokudb.cc

@ -7077,6 +7077,10 @@ void ha_tokudb::get_auto_increment(ulonglong offset, ulonglong increment, ulongl
DBUG_VOID_RETURN;
}
bool ha_tokudb::is_optimize_blocking() {
return false;
}
bool ha_tokudb::is_auto_inc_singleton(){
return false;
}

1
storage/tokudb/ha_tokudb.h

@ -528,6 +528,7 @@ public:
pthread_mutex_unlock(&share->mutex);
}
virtual void get_auto_increment(ulonglong offset, ulonglong increment, ulonglong nb_desired_values, ulonglong * first_value, ulonglong * nb_reserved_values);
bool is_optimize_blocking();
bool is_auto_inc_singleton();
void print_error(int error, myf errflag);
uint8 table_cache_type() {

Loading…
Cancel
Save