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
ed8aa986
Commit
ed8aa986
authored
May 11, 2010
by
Sergey Petrunya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Make subselect_sj2 testcase more stable
- Better comments
parent
b9688830
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
0 deletions
+16
-0
mysql-test/r/subselect_sj2.result
mysql-test/r/subselect_sj2.result
+4
-0
mysql-test/r/subselect_sj2_jcl6.result
mysql-test/r/subselect_sj2_jcl6.result
+4
-0
mysql-test/t/subselect_sj2.test
mysql-test/t/subselect_sj2.test
+6
-0
sql/item_subselect.h
sql/item_subselect.h
+2
-0
No files found.
mysql-test/r/subselect_sj2.result
View file @
ed8aa986
...
...
@@ -359,6 +359,10 @@ Canada
China
Czech Republic
drop table t1, t2;
drop procedure if exists p1;
drop procedure if exists p2;
drop procedure if exists p3;
drop procedure if exists p4;
CREATE TABLE t1(a INT);
CREATE TABLE t2(c INT);
CREATE PROCEDURE p1(v1 int)
...
...
mysql-test/r/subselect_sj2_jcl6.result
View file @
ed8aa986
...
...
@@ -363,6 +363,10 @@ Canada
China
Czech Republic
drop table t1, t2;
drop procedure if exists p1;
drop procedure if exists p2;
drop procedure if exists p3;
drop procedure if exists p4;
CREATE TABLE t1(a INT);
CREATE TABLE t2(c INT);
CREATE PROCEDURE p1(v1 int)
...
...
mysql-test/t/subselect_sj2.test
View file @
ed8aa986
...
...
@@ -490,6 +490,12 @@ drop table t1, t2;
# Bug#33062: subquery in stored routine cause crash
#
--
disable_warnings
drop
procedure
if
exists
p1
;
drop
procedure
if
exists
p2
;
drop
procedure
if
exists
p3
;
drop
procedure
if
exists
p4
;
--
enable_warnings
CREATE
TABLE
t1
(
a
INT
);
CREATE
TABLE
t2
(
c
INT
);
...
...
sql/item_subselect.h
View file @
ed8aa986
...
...
@@ -46,6 +46,7 @@ public:
< child_join->prepare
< engine->prepare
*ref= substitution;
substitution= NULL;
< Item_subselect::fix_fields
*/
Item
*
substitution
;
...
...
@@ -390,6 +391,7 @@ public:
We can't remove it altogether as it is used to classify contents in
join->sj_subselects.
jtbm-todo: option 1: let sj_subselects list pairs.
*/
bool
convert_to_semi_join
;
...
...
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