Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
26b2d23e
Commit
26b2d23e
authored
Dec 18, 2013
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#157 fix tokudb::index_next_same error handling
parent
097d63a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
storage/tokudb/ha_tokudb.cc
storage/tokudb/ha_tokudb.cc
+3
-2
No files found.
storage/tokudb/ha_tokudb.cc
View file @
26b2d23e
...
@@ -1186,7 +1186,7 @@ ha_tokudb::ha_tokudb(handlerton * hton, TABLE_SHARE * table_arg):handler(hton, t
...
@@ -1186,7 +1186,7 @@ ha_tokudb::ha_tokudb(handlerton * hton, TABLE_SHARE * table_arg):handler(hton, t
// flags defined in sql\handler.h
// flags defined in sql\handler.h
{
{
share
=
NULL
;
share
=
NULL
;
int_table_flags
=
HA_REC_NOT_IN_SEQ
|
HA_NULL_IN_KEY
|
HA_CAN_INDEX_BLOBS
|
HA_PRIMARY_KEY_IN_READ_INDEX
|
HA_PRIMARY_KEY_REQUIRED_FOR_POSITION
|
int_table_flags
=
HA_REC_NOT_IN_SEQ
|
HA_NULL_IN_KEY
|
HA_CAN_INDEX_BLOBS
|
HA_PRIMARY_KEY_IN_READ_INDEX
|
HA_PRIMARY_KEY_REQUIRED_FOR_POSITION
|
HA_FILE_BASED
|
HA_AUTO_PART_KEY
|
HA_TABLE_SCAN_ON_INDEX
|
HA_CAN_WRITE_DURING_OPTIMIZE
;
HA_FILE_BASED
|
HA_AUTO_PART_KEY
|
HA_TABLE_SCAN_ON_INDEX
|
HA_CAN_WRITE_DURING_OPTIMIZE
;
alloc_ptr
=
NULL
;
alloc_ptr
=
NULL
;
rec_buff
=
NULL
;
rec_buff
=
NULL
;
...
@@ -4759,7 +4759,8 @@ int ha_tokudb::index_next_same(uchar * buf, const uchar * key, uint keylen) {
...
@@ -4759,7 +4759,8 @@ int ha_tokudb::index_next_same(uchar * buf, const uchar * key, uint keylen) {
error
=
HA_ERR_END_OF_FILE
;
error
=
HA_ERR_END_OF_FILE
;
}
}
cleanup:
cleanup:
error
=
handle_cursor_error
(
error
,
HA_ERR_END_OF_FILE
,
tokudb_active_index
);
TOKUDB_DBUG_RETURN
(
error
);
TOKUDB_DBUG_RETURN
(
error
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment