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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
4b1399c0
Commit
4b1399c0
authored
Dec 16, 2010
by
Sergey Petrunya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better comments
parent
d40e250d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
sql/multi_range_read.h
sql/multi_range_read.h
+8
-6
No files found.
sql/multi_range_read.h
View file @
4b1399c0
...
@@ -305,9 +305,15 @@ class Mrr_ordered_index_reader : public Mrr_index_reader
...
@@ -305,9 +305,15 @@ class Mrr_ordered_index_reader : public Mrr_index_reader
/* TRUE == reached eof when enumerating ranges */
/* TRUE == reached eof when enumerating ranges */
bool
source_exhausted
;
bool
source_exhausted
;
/* TODO */
/*
/*uchar *saved_key_tuple;*/
Space where we save the rowid of the last record we've returned. This is
needed for the cases where index scan is interrupted by some other activity
that destroys contents in file->record[0] (which some storage engines use
to store the last rowid value)
*/
uchar
*
saved_rowid
;
uchar
*
saved_rowid
;
/* TRUE <=> saved_rowid has the last saved rowid */
bool
have_saved_rowid
;
bool
have_saved_rowid
;
static
int
compare_keys
(
void
*
arg
,
uchar
*
key1
,
uchar
*
key2
);
static
int
compare_keys
(
void
*
arg
,
uchar
*
key1
,
uchar
*
key2
);
...
@@ -363,10 +369,6 @@ class Mrr_ordered_rndpos_reader : public Mrr_reader
...
@@ -363,10 +369,6 @@ class Mrr_ordered_rndpos_reader : public Mrr_reader
/* Buffer to store (rowid, range_id) pairs */
/* Buffer to store (rowid, range_id) pairs */
Lifo_buffer
*
rowid_buffer
;
Lifo_buffer
*
rowid_buffer
;
/* rowid_buffer.read() will set the following: */
//uchar *rowid;
//uchar *rowids_range_id;
int
refill_from_index_reader
();
int
refill_from_index_reader
();
};
};
...
...
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