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

[t:1925], fix bug where hidden primary key was not being saved

git-svn-id: file:///svn/mysql/tokudb-engine/src@13914 c7de825b-a66e-492c-adef-691d508d4ae1
parent 3e280928
...@@ -364,6 +364,7 @@ static int smart_dbt_do_nothing (DBT const *key, DBT const *row, void *context) ...@@ -364,6 +364,7 @@ static int smart_dbt_do_nothing (DBT const *key, DBT const *row, void *context)
static int static int
smart_dbt_callback_rowread_ptquery (DBT const *key, DBT const *row, void *context) { smart_dbt_callback_rowread_ptquery (DBT const *key, DBT const *row, void *context) {
SMART_DBT_INFO info = (SMART_DBT_INFO)context; SMART_DBT_INFO info = (SMART_DBT_INFO)context;
info->ha->extract_hidden_primary_key(info->keynr, row, key);
return info->ha->read_row_callback(info->buf,info->keynr,row,key); return info->ha->read_row_callback(info->buf,info->keynr,row,key);
} }
......
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