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
c67b8954
Commit
c67b8954
authored
Dec 06, 2010
by
Sergey Petrunya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Post-merge fixes: fix compile failure in buildbot
parent
82113c39
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
storage/xtradb/row/row0sel.c
storage/xtradb/row/row0sel.c
+10
-2
No files found.
storage/xtradb/row/row0sel.c
View file @
c67b8954
...
@@ -4383,10 +4383,18 @@ no_gap_lock:
...
@@ -4383,10 +4383,18 @@ no_gap_lock:
idx_cond_check:
idx_cond_check:
if
(
prebuilt
->
idx_cond_func
)
{
if
(
prebuilt
->
idx_cond_func
)
{
int
res
;
int
res
;
ibool
ib_res
;
ut_ad
(
prebuilt
->
template_type
!=
ROW_MYSQL_DUMMY_TEMPLATE
);
ut_ad
(
prebuilt
->
template_type
!=
ROW_MYSQL_DUMMY_TEMPLATE
);
offsets
=
rec_get_offsets
(
rec
,
index
,
offsets
,
ULINT_UNDEFINED
,
&
heap
);
offsets
=
rec_get_offsets
(
rec
,
index
,
offsets
,
ULINT_UNDEFINED
,
&
heap
);
row_sel_store_mysql_rec
(
buf
,
prebuilt
,
rec
,
FALSE
,
ib_res
=
row_sel_store_mysql_rec
(
buf
,
prebuilt
,
rec
,
FALSE
,
offsets
,
0
,
prebuilt
->
n_index_fields
);
offsets
,
0
,
prebuilt
->
n_index_fields
);
/*
The above call will fail and return FALSE when requested to
store an "externally stored column" (afaiu, a blob). Index
Condition Pushdown is not supported for indexes with blob
columns, so we should never get this error.
*/
ut_ad
(
ib_res
);
res
=
prebuilt
->
idx_cond_func
(
prebuilt
->
idx_cond_func_arg
);
res
=
prebuilt
->
idx_cond_func
(
prebuilt
->
idx_cond_func_arg
);
if
(
res
==
0
)
if
(
res
==
0
)
goto
next_rec
;
goto
next_rec
;
...
...
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