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
113a84bd
Commit
113a84bd
authored
Feb 09, 2007
by
mskold/marty@mysql.com/linux.site
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enabled engine_condition_pushdown (on) as default
parent
dc71b3f9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
mysql-test/r/ndb_basic.result
mysql-test/r/ndb_basic.result
+1
-1
mysql-test/r/ndb_blob.result
mysql-test/r/ndb_blob.result
+2
-2
sql/mysqld.cc
sql/mysqld.cc
+1
-1
No files found.
mysql-test/r/ndb_basic.result
View file @
113a84bd
...
@@ -568,7 +568,7 @@ t1
...
@@ -568,7 +568,7 @@ t1
insert into t1 values (1,1),(2,1),(3,1),(4,1),(5,2),(6,1),(7,1);
insert into t1 values (1,1),(2,1),(3,1),(4,1),(5,2),(6,1),(7,1);
explain select * from t1 where a12345678901234567890123456789a1234567890=2;
explain select * from t1 where a12345678901234567890123456789a1234567890=2;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 ref a12345678901234567890123456789a1234567890 a12345678901234567890123456789a1234567890 5 const # Using where
1 SIMPLE t1 ref a12345678901234567890123456789a1234567890 a12345678901234567890123456789a1234567890 5 const # Using where
with pushed condition
select * from t1 where a12345678901234567890123456789a1234567890=2;
select * from t1 where a12345678901234567890123456789a1234567890=2;
a1234567890123456789012345678901234567890 a12345678901234567890123456789a1234567890
a1234567890123456789012345678901234567890 a12345678901234567890123456789a1234567890
5 2
5 2
...
...
mysql-test/r/ndb_blob.result
View file @
113a84bd
...
@@ -242,7 +242,7 @@ insert into t1 values(9,'b9',999,'dd9');
...
@@ -242,7 +242,7 @@ insert into t1 values(9,'b9',999,'dd9');
commit;
commit;
explain select * from t1 where c >= 100 order by a;
explain select * from t1 where c >= 100 order by a;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 range c c 4 NULL # Using where; Using filesort
1 SIMPLE t1 range c c 4 NULL # Using where
with pushed condition
; Using filesort
select * from t1 where c >= 100 order by a;
select * from t1 where c >= 100 order by a;
a b c d
a b c d
1 b1 111 dd1
1 b1 111 dd1
...
@@ -278,7 +278,7 @@ insert into t1 values(2,@b2,222,@d2);
...
@@ -278,7 +278,7 @@ insert into t1 values(2,@b2,222,@d2);
commit;
commit;
explain select * from t1 where c >= 100 order by a;
explain select * from t1 where c >= 100 order by a;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 range c c 4 NULL # Using where; Using filesort
1 SIMPLE t1 range c c 4 NULL # Using where
with pushed condition
; Using filesort
select a,length(b),substr(b,1+2*900,2),length(d),substr(d,1+3*900,3)
select a,length(b),substr(b,1+2*900,2),length(d),substr(d,1+3*900,3)
from t1 where c >= 100 order by a;
from t1 where c >= 100 order by a;
a length(b) substr(b,1+2*900,2) length(d) substr(d,1+3*900,3)
a length(b) substr(b,1+2*900,2) length(d) substr(d,1+3*900,3)
...
...
sql/mysqld.cc
View file @
113a84bd
...
@@ -5077,7 +5077,7 @@ struct my_option my_long_options[] =
...
@@ -5077,7 +5077,7 @@ struct my_option my_long_options[] =
"Push supported query conditions to the storage engine."
,
"Push supported query conditions to the storage engine."
,
(
gptr
*
)
&
global_system_variables
.
engine_condition_pushdown
,
(
gptr
*
)
&
global_system_variables
.
engine_condition_pushdown
,
(
gptr
*
)
&
global_system_variables
.
engine_condition_pushdown
,
(
gptr
*
)
&
global_system_variables
.
engine_condition_pushdown
,
0
,
GET_BOOL
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
0
,
GET_BOOL
,
NO_ARG
,
1
,
0
,
0
,
0
,
0
,
0
},
/* See how it's handled in get_one_option() */
/* See how it's handled in get_one_option() */
{
"event-scheduler"
,
OPT_EVENT_SCHEDULER
,
"Enable/disable the event scheduler."
,
{
"event-scheduler"
,
OPT_EVENT_SCHEDULER
,
"Enable/disable the event scheduler."
,
NULL
,
NULL
,
0
,
GET_STR
,
OPT_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
NULL
,
NULL
,
0
,
GET_STR
,
OPT_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
...
...
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