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
f9322a85
Commit
f9322a85
authored
Mar 11, 2005
by
sergefp@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/psergey/mysql-4.1-bug8711
into mysql.com:/home/psergey/mysql-5.0-bug8711
parents
759ad1a1
763039a1
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
0 deletions
+34
-0
mysql-test/r/join_outer.result
mysql-test/r/join_outer.result
+20
-0
mysql-test/t/join_outer.test
mysql-test/t/join_outer.test
+13
-0
sql/item_cmpfunc.h
sql/item_cmpfunc.h
+1
-0
No files found.
mysql-test/r/join_outer.result
View file @
f9322a85
...
@@ -677,6 +677,26 @@ id select_type table type possible_keys key key_len ref rows Extra
...
@@ -677,6 +677,26 @@ id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t3 ALL NULL NULL NULL NULL 2
1 SIMPLE t3 ALL NULL NULL NULL NULL 2
drop table t1, t2, t3;
drop table t1, t2, t3;
create table t1 (
create table t1 (
a int(11),
b char(10),
key (a)
);
insert into t1 (a) values (1),(2),(3),(4);
create table t2 (a int);
select * from t1 left join t2 on t1.a=t2.a where not (t2.a <=> t1.a);
a b a
1 NULL NULL
2 NULL NULL
3 NULL NULL
4 NULL NULL
select * from t1 left join t2 on t1.a=t2.a having not (t2.a <=> t1.a);
a b a
1 NULL NULL
2 NULL NULL
3 NULL NULL
4 NULL NULL
drop table t1,t2;
create table t1 (
match_id tinyint(3) unsigned not null auto_increment,
match_id tinyint(3) unsigned not null auto_increment,
home tinyint(3) unsigned default '0',
home tinyint(3) unsigned default '0',
unique key match_id (match_id),
unique key match_id (match_id),
...
...
mysql-test/t/join_outer.test
View file @
f9322a85
...
@@ -457,6 +457,19 @@ explain select * from t1 left join t2 on b1 = a1 left join t3 on c1 = a1 an
...
@@ -457,6 +457,19 @@ explain select * from t1 left join t2 on b1 = a1 left join t3 on c1 = a1 an
drop
table
t1
,
t2
,
t3
;
drop
table
t1
,
t2
,
t3
;
# Test for BUG#8711 '<=>' was considered to be a NULL-rejecting predicate.
create
table
t1
(
a
int
(
11
),
b
char
(
10
),
key
(
a
)
);
insert
into
t1
(
a
)
values
(
1
),(
2
),(
3
),(
4
);
create
table
t2
(
a
int
);
select
*
from
t1
left
join
t2
on
t1
.
a
=
t2
.
a
where
not
(
t2
.
a
<=>
t1
.
a
);
select
*
from
t1
left
join
t2
on
t1
.
a
=
t2
.
a
having
not
(
t2
.
a
<=>
t1
.
a
);
drop
table
t1
,
t2
;
# Test for BUG#5088
# Test for BUG#5088
create
table
t1
(
create
table
t1
(
...
...
sql/item_cmpfunc.h
View file @
f9322a85
...
@@ -323,6 +323,7 @@ public:
...
@@ -323,6 +323,7 @@ public:
Item_func_equal
(
Item
*
a
,
Item
*
b
)
:
Item_bool_rowready_func2
(
a
,
b
)
{};
Item_func_equal
(
Item
*
a
,
Item
*
b
)
:
Item_bool_rowready_func2
(
a
,
b
)
{};
longlong
val_int
();
longlong
val_int
();
void
fix_length_and_dec
();
void
fix_length_and_dec
();
table_map
not_null_tables
()
const
{
return
0
;
}
enum
Functype
functype
()
const
{
return
EQUAL_FUNC
;
}
enum
Functype
functype
()
const
{
return
EQUAL_FUNC
;
}
enum
Functype
rev_functype
()
const
{
return
EQUAL_FUNC
;
}
enum
Functype
rev_functype
()
const
{
return
EQUAL_FUNC
;
}
cond_result
eq_cmp_result
()
const
{
return
COND_TRUE
;
}
cond_result
eq_cmp_result
()
const
{
return
COND_TRUE
;
}
...
...
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