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
668eb2b5
Commit
668eb2b5
authored
Jul 22, 2011
by
Igor Babaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed settings of 'derived_merge' to 'on' in ps tests.
parent
d117f519
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
21 deletions
+0
-21
mysql-test/include/ps_query.inc
mysql-test/include/ps_query.inc
+0
-3
mysql-test/r/ps_2myisam.result
mysql-test/r/ps_2myisam.result
+0
-3
mysql-test/r/ps_3innodb.result
mysql-test/r/ps_3innodb.result
+0
-3
mysql-test/r/ps_4heap.result
mysql-test/r/ps_4heap.result
+0
-3
mysql-test/r/ps_5merge.result
mysql-test/r/ps_5merge.result
+0
-6
mysql-test/suite/maria/r/ps_maria.result
mysql-test/suite/maria/r/ps_maria.result
+0
-3
No files found.
mysql-test/include/ps_query.inc
View file @
668eb2b5
...
@@ -528,8 +528,6 @@ drop table t5, t6, t7 ;
...
@@ -528,8 +528,6 @@ drop table t5, t6, t7 ;
--
disable_warnings
--
disable_warnings
drop
table
if
exists
t2
;
drop
table
if
exists
t2
;
--
enable_warnings
--
enable_warnings
set
@
save_optimizer_switch
=@@
optimizer_switch
;
set
optimizer_switch
=
'derived_merge=on'
;
create
table
t2
as
select
*
from
t9
;
create
table
t2
as
select
*
from
t9
;
## unusual and complex SELECT without parameters
## unusual and complex SELECT without parameters
set
@
stmt
=
' SELECT
set
@
stmt
=
' SELECT
...
@@ -598,7 +596,6 @@ execute stmt1 using @arg00, @arg01, @arg02, @arg03, @arg04, @arg05, @arg06,
...
@@ -598,7 +596,6 @@ execute stmt1 using @arg00, @arg01, @arg02, @arg03, @arg04, @arg05, @arg06,
@
arg07
,
@
arg08
,
@
arg09
;
@
arg07
,
@
arg08
,
@
arg09
;
--
enable_result_log
--
enable_result_log
drop
table
t2
;
drop
table
t2
;
set
optimizer_switch
=@
save_optimizer_switch
;
##### test case derived from client_test.c: test_bug4079()
##### test case derived from client_test.c: test_bug4079()
--
error
1242
--
error
1242
...
...
mysql-test/r/ps_2myisam.result
View file @
668eb2b5
...
@@ -902,8 +902,6 @@ a (select count(distinct t5.b) as sum from t5, t6
...
@@ -902,8 +902,6 @@ a (select count(distinct t5.b) as sum from t5, t6
1 2
1 2
drop table t5, t6, t7 ;
drop table t5, t6, t7 ;
drop table if exists t2 ;
drop table if exists t2 ;
set @save_optimizer_switch=@@optimizer_switch;
set optimizer_switch='derived_merge=on';
create table t2 as select * from t9;
create table t2 as select * from t9;
set @stmt= ' SELECT
set @stmt= ' SELECT
(SELECT SUM(c1 + c12 + 0.0) FROM t2
(SELECT SUM(c1 + c12 + 0.0) FROM t2
...
@@ -953,7 +951,6 @@ execute stmt1 using @arg00, @arg01, @arg02, @arg03, @arg04, @arg05, @arg06,
...
@@ -953,7 +951,6 @@ execute stmt1 using @arg00, @arg01, @arg02, @arg03, @arg04, @arg05, @arg06,
execute stmt1 using @arg00, @arg01, @arg02, @arg03, @arg04, @arg05, @arg06,
execute stmt1 using @arg00, @arg01, @arg02, @arg03, @arg04, @arg05, @arg06,
@arg07, @arg08, @arg09 ;
@arg07, @arg08, @arg09 ;
drop table t2 ;
drop table t2 ;
set optimizer_switch=@save_optimizer_switch;
select 1 < (select a from t1) ;
select 1 < (select a from t1) ;
ERROR 21000: Subquery returns more than 1 row
ERROR 21000: Subquery returns more than 1 row
prepare stmt1 from ' select 1 < (select a from t1) ' ;
prepare stmt1 from ' select 1 < (select a from t1) ' ;
...
...
mysql-test/r/ps_3innodb.result
View file @
668eb2b5
...
@@ -902,8 +902,6 @@ a (select count(distinct t5.b) as sum from t5, t6
...
@@ -902,8 +902,6 @@ a (select count(distinct t5.b) as sum from t5, t6
1 2
1 2
drop table t5, t6, t7 ;
drop table t5, t6, t7 ;
drop table if exists t2 ;
drop table if exists t2 ;
set @save_optimizer_switch=@@optimizer_switch;
set optimizer_switch='derived_merge=on';
create table t2 as select * from t9;
create table t2 as select * from t9;
set @stmt= ' SELECT
set @stmt= ' SELECT
(SELECT SUM(c1 + c12 + 0.0) FROM t2
(SELECT SUM(c1 + c12 + 0.0) FROM t2
...
@@ -953,7 +951,6 @@ execute stmt1 using @arg00, @arg01, @arg02, @arg03, @arg04, @arg05, @arg06,
...
@@ -953,7 +951,6 @@ execute stmt1 using @arg00, @arg01, @arg02, @arg03, @arg04, @arg05, @arg06,
execute stmt1 using @arg00, @arg01, @arg02, @arg03, @arg04, @arg05, @arg06,
execute stmt1 using @arg00, @arg01, @arg02, @arg03, @arg04, @arg05, @arg06,
@arg07, @arg08, @arg09 ;
@arg07, @arg08, @arg09 ;
drop table t2 ;
drop table t2 ;
set optimizer_switch=@save_optimizer_switch;
select 1 < (select a from t1) ;
select 1 < (select a from t1) ;
ERROR 21000: Subquery returns more than 1 row
ERROR 21000: Subquery returns more than 1 row
prepare stmt1 from ' select 1 < (select a from t1) ' ;
prepare stmt1 from ' select 1 < (select a from t1) ' ;
...
...
mysql-test/r/ps_4heap.result
View file @
668eb2b5
...
@@ -903,8 +903,6 @@ a (select count(distinct t5.b) as sum from t5, t6
...
@@ -903,8 +903,6 @@ a (select count(distinct t5.b) as sum from t5, t6
1 2
1 2
drop table t5, t6, t7 ;
drop table t5, t6, t7 ;
drop table if exists t2 ;
drop table if exists t2 ;
set @save_optimizer_switch=@@optimizer_switch;
set optimizer_switch='derived_merge=on';
create table t2 as select * from t9;
create table t2 as select * from t9;
set @stmt= ' SELECT
set @stmt= ' SELECT
(SELECT SUM(c1 + c12 + 0.0) FROM t2
(SELECT SUM(c1 + c12 + 0.0) FROM t2
...
@@ -954,7 +952,6 @@ execute stmt1 using @arg00, @arg01, @arg02, @arg03, @arg04, @arg05, @arg06,
...
@@ -954,7 +952,6 @@ execute stmt1 using @arg00, @arg01, @arg02, @arg03, @arg04, @arg05, @arg06,
execute stmt1 using @arg00, @arg01, @arg02, @arg03, @arg04, @arg05, @arg06,
execute stmt1 using @arg00, @arg01, @arg02, @arg03, @arg04, @arg05, @arg06,
@arg07, @arg08, @arg09 ;
@arg07, @arg08, @arg09 ;
drop table t2 ;
drop table t2 ;
set optimizer_switch=@save_optimizer_switch;
select 1 < (select a from t1) ;
select 1 < (select a from t1) ;
ERROR 21000: Subquery returns more than 1 row
ERROR 21000: Subquery returns more than 1 row
prepare stmt1 from ' select 1 < (select a from t1) ' ;
prepare stmt1 from ' select 1 < (select a from t1) ' ;
...
...
mysql-test/r/ps_5merge.result
View file @
668eb2b5
...
@@ -945,8 +945,6 @@ a (select count(distinct t5.b) as sum from t5, t6
...
@@ -945,8 +945,6 @@ a (select count(distinct t5.b) as sum from t5, t6
1 2
1 2
drop table t5, t6, t7 ;
drop table t5, t6, t7 ;
drop table if exists t2 ;
drop table if exists t2 ;
set @save_optimizer_switch=@@optimizer_switch;
set optimizer_switch='derived_merge=on';
create table t2 as select * from t9;
create table t2 as select * from t9;
set @stmt= ' SELECT
set @stmt= ' SELECT
(SELECT SUM(c1 + c12 + 0.0) FROM t2
(SELECT SUM(c1 + c12 + 0.0) FROM t2
...
@@ -996,7 +994,6 @@ execute stmt1 using @arg00, @arg01, @arg02, @arg03, @arg04, @arg05, @arg06,
...
@@ -996,7 +994,6 @@ execute stmt1 using @arg00, @arg01, @arg02, @arg03, @arg04, @arg05, @arg06,
execute stmt1 using @arg00, @arg01, @arg02, @arg03, @arg04, @arg05, @arg06,
execute stmt1 using @arg00, @arg01, @arg02, @arg03, @arg04, @arg05, @arg06,
@arg07, @arg08, @arg09 ;
@arg07, @arg08, @arg09 ;
drop table t2 ;
drop table t2 ;
set optimizer_switch=@save_optimizer_switch;
select 1 < (select a from t1) ;
select 1 < (select a from t1) ;
ERROR 21000: Subquery returns more than 1 row
ERROR 21000: Subquery returns more than 1 row
prepare stmt1 from ' select 1 < (select a from t1) ' ;
prepare stmt1 from ' select 1 < (select a from t1) ' ;
...
@@ -4302,8 +4299,6 @@ a (select count(distinct t5.b) as sum from t5, t6
...
@@ -4302,8 +4299,6 @@ a (select count(distinct t5.b) as sum from t5, t6
1 2
1 2
drop table t5, t6, t7 ;
drop table t5, t6, t7 ;
drop table if exists t2 ;
drop table if exists t2 ;
set @save_optimizer_switch=@@optimizer_switch;
set optimizer_switch='derived_merge=on';
create table t2 as select * from t9;
create table t2 as select * from t9;
set @stmt= ' SELECT
set @stmt= ' SELECT
(SELECT SUM(c1 + c12 + 0.0) FROM t2
(SELECT SUM(c1 + c12 + 0.0) FROM t2
...
@@ -4353,7 +4348,6 @@ execute stmt1 using @arg00, @arg01, @arg02, @arg03, @arg04, @arg05, @arg06,
...
@@ -4353,7 +4348,6 @@ execute stmt1 using @arg00, @arg01, @arg02, @arg03, @arg04, @arg05, @arg06,
execute stmt1 using @arg00, @arg01, @arg02, @arg03, @arg04, @arg05, @arg06,
execute stmt1 using @arg00, @arg01, @arg02, @arg03, @arg04, @arg05, @arg06,
@arg07, @arg08, @arg09 ;
@arg07, @arg08, @arg09 ;
drop table t2 ;
drop table t2 ;
set optimizer_switch=@save_optimizer_switch;
select 1 < (select a from t1) ;
select 1 < (select a from t1) ;
ERROR 21000: Subquery returns more than 1 row
ERROR 21000: Subquery returns more than 1 row
prepare stmt1 from ' select 1 < (select a from t1) ' ;
prepare stmt1 from ' select 1 < (select a from t1) ' ;
...
...
mysql-test/suite/maria/r/ps_maria.result
View file @
668eb2b5
...
@@ -902,8 +902,6 @@ a (select count(distinct t5.b) as sum from t5, t6
...
@@ -902,8 +902,6 @@ a (select count(distinct t5.b) as sum from t5, t6
1 2
1 2
drop table t5, t6, t7 ;
drop table t5, t6, t7 ;
drop table if exists t2 ;
drop table if exists t2 ;
set @save_optimizer_switch=@@optimizer_switch;
set optimizer_switch='derived_merge=on';
create table t2 as select * from t9;
create table t2 as select * from t9;
set @stmt= ' SELECT
set @stmt= ' SELECT
(SELECT SUM(c1 + c12 + 0.0) FROM t2
(SELECT SUM(c1 + c12 + 0.0) FROM t2
...
@@ -953,7 +951,6 @@ execute stmt1 using @arg00, @arg01, @arg02, @arg03, @arg04, @arg05, @arg06,
...
@@ -953,7 +951,6 @@ execute stmt1 using @arg00, @arg01, @arg02, @arg03, @arg04, @arg05, @arg06,
execute stmt1 using @arg00, @arg01, @arg02, @arg03, @arg04, @arg05, @arg06,
execute stmt1 using @arg00, @arg01, @arg02, @arg03, @arg04, @arg05, @arg06,
@arg07, @arg08, @arg09 ;
@arg07, @arg08, @arg09 ;
drop table t2 ;
drop table t2 ;
set optimizer_switch=@save_optimizer_switch;
select 1 < (select a from t1) ;
select 1 < (select a from t1) ;
ERROR 21000: Subquery returns more than 1 row
ERROR 21000: Subquery returns more than 1 row
prepare stmt1 from ' select 1 < (select a from t1) ' ;
prepare stmt1 from ' select 1 < (select a from t1) ' ;
...
...
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