Commit 3e3738d9 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 e4db484a
......@@ -3236,9 +3236,9 @@ int ha_tokudb::index_next_same(uchar * buf, const uchar * key, uint keylen) {
DBT found_key;
bool has_null;
int cmp;
u_int32_t flags;
HANDLE_INVALID_CURSOR();
statistic_increment(table->in_use->status_var.ha_read_next_count, &LOCK_status);
info.ha = this;
info.buf = buf;
......@@ -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);
u_int32_t flags = SET_READ_FLAG(0);
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);
if (error) {
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