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
4e2b94de
Commit
4e2b94de
authored
May 05, 2004
by
monty@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
After merge fixes
parent
6827fe40
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
mysql-test/r/show_check.result
mysql-test/r/show_check.result
+2
-2
mysql-test/r/subselect.result
mysql-test/r/subselect.result
+2
-2
mysql-test/t/show_check.test
mysql-test/t/show_check.test
+1
-1
mysql-test/t/subselect.test
mysql-test/t/subselect.test
+2
-2
No files found.
mysql-test/r/show_check.result
View file @
4e2b94de
...
...
@@ -90,8 +90,8 @@ test_set set( 'val1', 'val2', 'val3' ) not null default '',
name char(20) default 'O''Brien' comment 'O''Brien as default',
c int not null comment 'int column',
`c-b` int comment 'name with a minus',
`space 2` int comment 'name with a space'
,
) comment = 'it\'s a table' ;
`space 2` int comment 'name with a space'
) comment = 'it\'s a table' ;
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
...
...
mysql-test/r/subselect.result
View file @
4e2b94de
...
...
@@ -1151,7 +1151,7 @@ CREATE TABLE `t1` (
`id` mediumint(8) unsigned NOT NULL auto_increment,
`pseudo` varchar(35) character set latin1 NOT NULL default '',
PRIMARY KEY (`id`),
UNIQUE KEY `pseudo` (`pseudo`)
,
UNIQUE KEY `pseudo` (`pseudo`)
) ENGINE=MyISAM PACK_KEYS=1 ROW_FORMAT=DYNAMIC;
INSERT INTO t1 (pseudo) VALUES ('test');
SELECT 0 IN (SELECT 1 FROM t1 a);
...
...
@@ -1256,7 +1256,7 @@ CREATE TABLE `t1` (
`email` varchar(60) NOT NULL default '',
PRIMARY KEY (`id`),
UNIQUE KEY `email` (`email`),
UNIQUE KEY `pseudo` (`pseudo`)
,
UNIQUE KEY `pseudo` (`pseudo`)
) ENGINE=MyISAM CHARSET=latin1 PACK_KEYS=1 ROW_FORMAT=DYNAMIC;
INSERT INTO t1 (id,pseudo,email) VALUES (1,'test','test'),(2,'test1','test1');
SELECT pseudo as a, pseudo as b FROM t1 GROUP BY (SELECT a) ORDER BY (SELECT id*1);
...
...
mysql-test/t/show_check.test
View file @
4e2b94de
...
...
@@ -55,7 +55,7 @@ create table t1 (
name
char
(
20
)
default
'O''Brien'
comment
'O''Brien as default'
,
c
int
not
null
comment
'int column'
,
`c-b`
int
comment
'name with a minus'
,
`space 2`
int
comment
'name with a space'
,
`space 2`
int
comment
'name with a space'
)
comment
=
'it\'s a table'
;
show
create
table
t1
;
set
sql_quote_show_create
=
0
;
...
...
mysql-test/t/subselect.test
View file @
4e2b94de
...
...
@@ -673,7 +673,7 @@ CREATE TABLE `t1` (
`id`
mediumint
(
8
)
unsigned
NOT
NULL
auto_increment
,
`pseudo`
varchar
(
35
)
character
set
latin1
NOT
NULL
default
''
,
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`pseudo`
(
`pseudo`
)
,
UNIQUE
KEY
`pseudo`
(
`pseudo`
)
)
ENGINE
=
MyISAM
PACK_KEYS
=
1
ROW_FORMAT
=
DYNAMIC
;
INSERT
INTO
t1
(
pseudo
)
VALUES
(
'test'
);
SELECT
0
IN
(
SELECT
1
FROM
t1
a
);
...
...
@@ -776,7 +776,7 @@ CREATE TABLE `t1` (
`email`
varchar
(
60
)
NOT
NULL
default
''
,
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`email`
(
`email`
),
UNIQUE
KEY
`pseudo`
(
`pseudo`
)
,
UNIQUE
KEY
`pseudo`
(
`pseudo`
)
)
ENGINE
=
MyISAM
CHARSET
=
latin1
PACK_KEYS
=
1
ROW_FORMAT
=
DYNAMIC
;
INSERT
INTO
t1
(
id
,
pseudo
,
email
)
VALUES
(
1
,
'test'
,
'test'
),(
2
,
'test1'
,
'test1'
);
SELECT
pseudo
as
a
,
pseudo
as
b
FROM
t1
GROUP
BY
(
SELECT
a
)
ORDER
BY
(
SELECT
id
*
1
);
...
...
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