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
63fc15ce
Commit
63fc15ce
authored
Aug 21, 2003
by
bell@laptop.sanja.is.com.ua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merge
parent
87bb6200
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
mysql-test/r/subselect.result
mysql-test/r/subselect.result
+1
-0
mysql-test/t/subselect.test
mysql-test/t/subselect.test
+2
-2
No files found.
mysql-test/r/subselect.result
View file @
63fc15ce
...
@@ -1350,4 +1350,5 @@ INSERT INTO t1 VALUES ('z','?');
...
@@ -1350,4 +1350,5 @@ INSERT INTO t1 VALUES ('z','?');
select * from t1 where s1 > (select max(s2) from t1);
select * from t1 where s1 > (select max(s2) from t1);
ERROR HY000: Illegal mix of collations (latin1_german1_ci,IMPLICIT) and (latin1_swedish_ci,IMPLICIT) for operation '>'
ERROR HY000: Illegal mix of collations (latin1_german1_ci,IMPLICIT) and (latin1_swedish_ci,IMPLICIT) for operation '>'
select * from t1 where s1 > any (select max(s2) from t1);
select * from t1 where s1 > any (select max(s2) from t1);
ERROR HY000: Illegal mix of collations (latin1_german1_ci,IMPLICIT) and (latin1_swedish_ci,IMPLICIT) for operation '>'
drop table t1;
drop table t1;
mysql-test/t/subselect.test
View file @
63fc15ce
...
@@ -907,8 +907,8 @@ drop table t1,t2;
...
@@ -907,8 +907,8 @@ drop table t1,t2;
CREATE
TABLE
t1
(
s1
CHAR
(
5
)
COLLATE
latin1_german1_ci
,
CREATE
TABLE
t1
(
s1
CHAR
(
5
)
COLLATE
latin1_german1_ci
,
s2
CHAR
(
5
)
COLLATE
latin1_swedish_ci
);
s2
CHAR
(
5
)
COLLATE
latin1_swedish_ci
);
INSERT
INTO
t1
VALUES
(
'z'
,
'?'
);
INSERT
INTO
t1
VALUES
(
'z'
,
'?'
);
--
error
126
5
--
error
126
6
select
*
from
t1
where
s1
>
(
select
max
(
s2
)
from
t1
);
select
*
from
t1
where
s1
>
(
select
max
(
s2
)
from
t1
);
--
error
126
5
--
error
126
6
select
*
from
t1
where
s1
>
any
(
select
max
(
s2
)
from
t1
);
select
*
from
t1
where
s1
>
any
(
select
max
(
s2
)
from
t1
);
drop
table
t1
;
drop
table
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