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

addresses #1032

pad a struct to shut MSVC compiler up

git-svn-id: file:///svn/mysql/tokudb-engine/src@6795 c7de825b-a66e-492c-adef-691d508d4ae1
parent a575ab60
...@@ -731,7 +731,7 @@ typedef struct { ...@@ -731,7 +731,7 @@ typedef struct {
typedef struct { typedef struct {
u_int16_t version; u_int16_t version;
u_int32_t num_fields; u_int32_t num_fields;
tokutrace_field fields[0]; tokutrace_field fields[1];
} tokutrace_cmp_fun; } tokutrace_cmp_fun;
static int tokutrace_db_get_cmp_byte_stream(DB* db, DBT* byte_stream) { static int tokutrace_db_get_cmp_byte_stream(DB* db, DBT* byte_stream) {
......
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