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
89e16428
Commit
89e16428
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
d46a8854
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 @
89e16428
...
...
@@ -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 @
89e16428
...
...
@@ -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 @
89e16428
...
...
@@ -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 @
89e16428
...
...
@@ -46,6 +46,7 @@ class Item_subselect :public Item_result_field
< child_join->prepare
< engine->prepare
*ref= substitution;
substitution= NULL;
< Item_subselect::fix_fields
*/
Item
*
substitution
;
...
...
@@ -390,6 +391,7 @@ class Item_in_subselect :public Item_exists_subselect
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