Commit 0747e467 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

addresses #1158

fix regressions

git-svn-id: file:///svn/mysql/tokudb-engine/src@6178 c7de825b-a66e-492c-adef-691d508d4ae1
parent ebb135c6
...@@ -3375,7 +3375,9 @@ DBT *ha_tokudb::get_pos(DBT * to, uchar * pos) { ...@@ -3375,7 +3375,9 @@ DBT *ha_tokudb::get_pos(DBT * to, uchar * pos) {
// this should really be done through pack_key functions // this should really be done through pack_key functions
// //
to->data = pos; to->data = pos;
*pos++ = COL_NEG_INF; if (!hidden_primary_key) {
*pos++ = COL_NEG_INF;
}
if (share->fixed_length_primary_key) if (share->fixed_length_primary_key)
to->size = ref_length; to->size = ref_length;
else { else {
......
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