mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
func_str.result:
post-merge fix. ,
This commit is contained in:
parent
2a1ad57732
commit
9fbfa7a9af
1 changed files with 20 additions and 0 deletions
|
@ -639,6 +639,26 @@ drop table t1;
|
|||
select charset(null), collation(null), coercibility(null);
|
||||
charset(null) collation(null) coercibility(null)
|
||||
binary binary 5
|
||||
CREATE TABLE t1 (a int, b int);
|
||||
CREATE TABLE t2 (a int, b int);
|
||||
INSERT INTO t1 VALUES (1,1),(2,2);
|
||||
INSERT INTO t2 VALUES (2,2),(3,3);
|
||||
select t1.*,t2.* from t1 left join t2 on (t1.b=t2.b)
|
||||
where collation(t2.a) = _utf8'binary' order by t1.a,t2.a;
|
||||
a b a b
|
||||
1 1 NULL NULL
|
||||
2 2 2 2
|
||||
select t1.*,t2.* from t1 left join t2 on (t1.b=t2.b)
|
||||
where charset(t2.a) = _utf8'binary' order by t1.a,t2.a;
|
||||
a b a b
|
||||
1 1 NULL NULL
|
||||
2 2 2 2
|
||||
select t1.*,t2.* from t1 left join t2 on (t1.b=t2.b)
|
||||
where coercibility(t2.a) = 2 order by t1.a,t2.a;
|
||||
a b a b
|
||||
1 1 NULL NULL
|
||||
2 2 2 2
|
||||
DROP TABLE t1, t2;
|
||||
select SUBSTR('abcdefg',3,2);
|
||||
SUBSTR('abcdefg',3,2)
|
||||
cd
|
||||
|
|
Loading…
Add table
Reference in a new issue