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
c696fb6e
Commit
c696fb6e
authored
Dec 16, 2010
by
Sergey Petrunya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better comments
parent
8dc612e6
Changes
1
Hide 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 @
c696fb6e
...
@@ -305,9 +305,15 @@ private:
...
@@ -305,9 +305,15 @@ private:
/* 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 @@ private:
...
@@ -363,10 +369,6 @@ private:
/* 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