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
37187e09
Commit
37187e09
authored
Dec 17, 2008
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: row_sel_try_search_shortcut(), row_sel(): Adjust two
debug assertions that should have been adjusted in r3575.
parent
4302847c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
row/row0sel.c
row/row0sel.c
+2
-2
No files found.
row/row0sel.c
View file @
37187e09
...
...
@@ -1229,7 +1229,7 @@ row_sel_try_search_shortcut(
goto
func_exit
;
}
ut_ad
(
plan
->
pcur
.
latch_mode
==
node
->
latch_mode
);
ut_ad
(
plan
->
pcur
.
latch_mode
==
BTR_SEARCH_LEAF
);
plan
->
n_rows_fetched
++
;
ret
=
SEL_FOUND
;
...
...
@@ -1729,7 +1729,7 @@ row_sel(
plan
->
n_rows_fetched
++
;
ut_ad
(
plan
->
pcur
.
latch_mode
==
node
->
latch_mode
);
ut_ad
(
plan
->
pcur
.
latch_mode
==
BTR_SEARCH_LEAF
);
if
((
plan
->
n_rows_fetched
<=
SEL_PREFETCH_LIMIT
)
||
plan
->
unique_search
||
plan
->
no_prefetch
...
...
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