Commit 06b4ebc8 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

closes #744

should do bzero on byte_stream instead of &byte_stream
only affected in a certain trace mode

git-svn-id: file:///svn/mysql/tokudb-engine/src@3628 c7de825b-a66e-492c-adef-691d508d4ae1
parent 8784e3b3
......@@ -770,7 +770,7 @@ static int tokutrace_db_get_cmp_byte_stream(DB* db, DBT* byte_stream) {
void* data = NULL;
KEY* key = NULL;
if (byte_stream->flags != DB_DBT_MALLOC) { return EINVAL; }
bzero((void *) &byte_stream, sizeof(*byte_stream));
bzero((void *) byte_stream, sizeof(*byte_stream));
u_int32_t num_fields = 0;
if (!db->app_private) { num_fields = 1; }
......
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