Commit 4723b8b3 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

addresses #1883, fix bug

git-svn-id: file:///svn/mysql/tokudb-engine/src@13584 c7de825b-a66e-492c-adef-691d508d4ae1
parent 240dcaa2
......@@ -5129,7 +5129,7 @@ void ha_tokudb::init_auto_increment() {
);
if (error == 0 && value.size == sizeof(share->last_auto_increment)) {
share->last_auto_increment = *(uint *)value.data;
share->last_auto_increment = *(ulonglong *)value.data;
free(value.data);
value.data = NULL;
}
......@@ -5170,7 +5170,7 @@ void ha_tokudb::init_auto_increment() {
);
if (error == 0 && value.size == sizeof(share->auto_inc_create_value)) {
share->auto_inc_create_value = *(uint *)value.data;
share->auto_inc_create_value = *(ulonglong *)value.data;
free(value.data);
value.data = NULL;
}
......
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