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
d803ae0a
Commit
d803ae0a
authored
Jan 18, 2003
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge heikki@work.mysql.com:/home/bk/mysql
into hundin.mysql.fi:/home/heikki/mysql
parents
d26a7d48
99b31444
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
innobase/btr/btr0sea.c
innobase/btr/btr0sea.c
+11
-1
No files found.
innobase/btr/btr0sea.c
View file @
d803ae0a
...
@@ -470,6 +470,7 @@ btr_search_check_guess(
...
@@ -470,6 +470,7 @@ btr_search_check_guess(
/*===================*/
/*===================*/
/* out: TRUE if success */
/* out: TRUE if success */
btr_cur_t
*
cursor
,
/* in: guessed cursor position */
btr_cur_t
*
cursor
,
/* in: guessed cursor position */
ibool
can_only_compare_to_cursor_rec
,
dtuple_t
*
tuple
,
/* in: data tuple */
dtuple_t
*
tuple
,
/* in: data tuple */
ulint
mode
,
/* in: PAGE_CUR_L, PAGE_CUR_LE, PAGE_CUR_G,
ulint
mode
,
/* in: PAGE_CUR_L, PAGE_CUR_LE, PAGE_CUR_G,
or PAGE_CUR_GE */
or PAGE_CUR_GE */
...
@@ -528,6 +529,10 @@ btr_search_check_guess(
...
@@ -528,6 +529,10 @@ btr_search_check_guess(
}
}
}
}
if
(
can_only_compare_to_cursor_rec
)
{
return
(
FALSE
);
}
match
=
0
;
match
=
0
;
bytes
=
0
;
bytes
=
0
;
...
@@ -632,6 +637,7 @@ btr_search_guess_on_hash(
...
@@ -632,6 +637,7 @@ btr_search_guess_on_hash(
ulint
fold
;
ulint
fold
;
ulint
tuple_n_fields
;
ulint
tuple_n_fields
;
dulint
tree_id
;
dulint
tree_id
;
ibool
can_only_compare_to_cursor_rec
=
TRUE
;
#ifdef notdefined
#ifdef notdefined
btr_cur_t
cursor2
;
btr_cur_t
cursor2
;
btr_pcur_t
pcur
;
btr_pcur_t
pcur
;
...
@@ -706,6 +712,8 @@ btr_search_guess_on_hash(
...
@@ -706,6 +712,8 @@ btr_search_guess_on_hash(
goto
failure
;
goto
failure
;
}
}
can_only_compare_to_cursor_rec
=
FALSE
;
buf_page_dbg_add_level
(
page
,
SYNC_TREE_NODE_FROM_HASH
);
buf_page_dbg_add_level
(
page
,
SYNC_TREE_NODE_FROM_HASH
);
}
}
...
@@ -737,7 +745,9 @@ btr_search_guess_on_hash(
...
@@ -737,7 +745,9 @@ btr_search_guess_on_hash(
fold);
fold);
*/
*/
}
else
{
}
else
{
success
=
btr_search_check_guess
(
cursor
,
tuple
,
mode
,
mtr
);
success
=
btr_search_check_guess
(
cursor
,
can_only_compare_to_cursor_rec
,
tuple
,
mode
,
mtr
);
}
}
if
(
!
success
)
{
if
(
!
success
)
{
...
...
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