Commit a9bf3448 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

addresses #1151

make ha_tokudb change for bug

git-svn-id: file:///svn/mysql/tokudb-engine/src@6113 c7de825b-a66e-492c-adef-691d508d4ae1
parent c955d0a6
...@@ -4402,6 +4402,10 @@ void ha_tokudb::get_auto_increment(ulonglong offset, ulonglong increment, ulongl ...@@ -4402,6 +4402,10 @@ void ha_tokudb::get_auto_increment(ulonglong offset, ulonglong increment, ulongl
DBUG_VOID_RETURN; DBUG_VOID_RETURN;
} }
bool ha_tokudb::is_auto_inc_singleton(){
return false;
}
// //
// Adds indexes to the table. Takes the array of KEY passed in key_info, and creates // Adds indexes to the table. Takes the array of KEY passed in key_info, and creates
// DB's that will go at the end of share->key_file. THE IMPLICIT ASSUMPTION HERE is // DB's that will go at the end of share->key_file. THE IMPLICIT ASSUMPTION HERE is
......
...@@ -301,6 +301,7 @@ class ha_tokudb : public handler { ...@@ -301,6 +301,7 @@ class ha_tokudb : public handler {
pthread_mutex_unlock(&share->mutex); 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); virtual void get_auto_increment(ulonglong offset, ulonglong increment, ulonglong nb_desired_values, ulonglong * first_value, ulonglong * nb_reserved_values);
bool is_auto_inc_singleton();
void print_error(int error, myf errflag); void print_error(int error, myf errflag);
uint8 table_cache_type() { uint8 table_cache_type() {
return HA_CACHE_TBL_TRANSACT; return HA_CACHE_TBL_TRANSACT;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment