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
7092c7de
Commit
7092c7de
authored
Mar 14, 2005
by
mskold@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WL#2353 EXPLAIN support for condition pushdown
parent
ca3391c7
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
784 additions
and
9 deletions
+784
-9
mysql-test/r/ndb_condition_pushdown.result
mysql-test/r/ndb_condition_pushdown.result
+398
-8
mysql-test/t/ndb_condition_pushdown.test
mysql-test/t/ndb_condition_pushdown.test
+371
-0
sql/sql_select.cc
sql/sql_select.cc
+15
-1
No files found.
mysql-test/r/ndb_condition_pushdown.result
View file @
7092c7de
This diff is collapsed.
Click to expand it.
mysql-test/t/ndb_condition_pushdown.test
View file @
7092c7de
This diff is collapsed.
Click to expand it.
sql/sql_select.cc
View file @
7092c7de
...
...
@@ -13008,7 +13008,21 @@ static void select_describe(JOIN *join, bool need_tmp_table, bool need_order,
extra
.
append
(
')'
);
}
else
if
(
tab
->
select
->
cond
)
extra
.
append
(
"; Using where"
);
{
const
COND
*
pushed_cond
=
tab
->
table
->
file
->
pushed_cond
;
if
(
thd
->
variables
.
engine_condition_pushdown
&&
pushed_cond
)
{
extra
.
append
(
"; Using where with pushed condition"
);
if
(
thd
->
lex
->
describe
&
DESCRIBE_EXTENDED
)
{
extra
.
append
(
": "
);
((
COND
*
)
pushed_cond
)
->
print
(
&
extra
);
}
}
else
extra
.
append
(
"; Using where"
);
}
}
if
(
key_read
)
{
...
...
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