Commit 80f9eac6 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

compile on linux with gcc

git-svn-id: file:///svn/mysql/tokudb-engine/src@11462 c7de825b-a66e-492c-adef-691d508d4ae1
parent 9eacbf75
...@@ -3236,9 +3236,9 @@ int ha_tokudb::index_next_same(uchar * buf, const uchar * key, uint keylen) { ...@@ -3236,9 +3236,9 @@ int ha_tokudb::index_next_same(uchar * buf, const uchar * key, uint keylen) {
DBT found_key; DBT found_key;
bool has_null; bool has_null;
int cmp; int cmp;
u_int32_t flags;
HANDLE_INVALID_CURSOR(); HANDLE_INVALID_CURSOR();
statistic_increment(table->in_use->status_var.ha_read_next_count, &LOCK_status); statistic_increment(table->in_use->status_var.ha_read_next_count, &LOCK_status);
info.ha = this; info.ha = this;
info.buf = buf; info.buf = buf;
...@@ -3246,8 +3246,7 @@ int ha_tokudb::index_next_same(uchar * buf, const uchar * key, uint keylen) { ...@@ -3246,8 +3246,7 @@ int ha_tokudb::index_next_same(uchar * buf, const uchar * key, uint keylen) {
pack_key(&curr_key, active_index, key_buff2, key, keylen, COL_NEG_INF); pack_key(&curr_key, active_index, key_buff2, key, keylen, COL_NEG_INF);
flags = SET_READ_FLAG(0);
u_int32_t flags = SET_READ_FLAG(0);
error = handle_cursor_error(cursor->c_getf_next(cursor, flags, SMART_DBT_CALLBACK, &info),HA_ERR_END_OF_FILE,active_index); error = handle_cursor_error(cursor->c_getf_next(cursor, flags, SMART_DBT_CALLBACK, &info),HA_ERR_END_OF_FILE,active_index);
if (error) { if (error) {
goto cleanup; goto cleanup;
......
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