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
e1044ab5
Commit
e1044ab5
authored
Mar 23, 2007
by
holyfoot/hf@mysql.com/hfmain.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merging
parent
a7f5f07b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
24 deletions
+22
-24
mysql-test/r/create.result
mysql-test/r/create.result
+15
-15
mysql-test/r/type_float.result
mysql-test/r/type_float.result
+5
-5
mysql-test/r/union.result
mysql-test/r/union.result
+2
-2
mysql-test/r/view.result
mysql-test/r/view.result
+0
-2
No files found.
mysql-test/r/create.result
View file @
e1044ab5
...
...
@@ -455,21 +455,21 @@ create table t2 select ifnull(a,a), ifnull(b,b), ifnull(c,c), ifnull(d,d), ifnul
show create table t2;
Table Create Table
t2 CREATE TABLE `t2` (
`ifnull(a,a)` tinyint(4)
default
NULL,
`ifnull(b,b)` smallint(6)
default
NULL,
`ifnull(c,c)` mediumint(8)
default
NULL,
`ifnull(d,d)` int(11)
default
NULL,
`ifnull(e,e)` bigint(20)
default
NULL,
`ifnull(f,f)` float(3,2)
default
NULL,
`ifnull(g,g)` double(4,3)
default
NULL,
`ifnull(h,h)` decimal(5,4)
default
NULL,
`ifnull(i,i)` year(4)
default
NULL,
`ifnull(j,j)` date
default
NULL,
`ifnull(k,k)` timestamp NOT NULL
default
'0000-00-00 00:00:00',
`ifnull(l,l)` datetime
default
NULL,
`ifnull(m,m)` varchar(1)
default
NULL,
`ifnull(n,n)` varchar(3)
default
NULL,
`ifnull(o,o)` varchar(10)
default
NULL
`ifnull(a,a)` tinyint(4)
DEFAULT
NULL,
`ifnull(b,b)` smallint(6)
DEFAULT
NULL,
`ifnull(c,c)` mediumint(8)
DEFAULT
NULL,
`ifnull(d,d)` int(11)
DEFAULT
NULL,
`ifnull(e,e)` bigint(20)
DEFAULT
NULL,
`ifnull(f,f)` float(3,2)
DEFAULT
NULL,
`ifnull(g,g)` double(4,3)
DEFAULT
NULL,
`ifnull(h,h)` decimal(5,4)
DEFAULT
NULL,
`ifnull(i,i)` year(4)
DEFAULT
NULL,
`ifnull(j,j)` date
DEFAULT
NULL,
`ifnull(k,k)` timestamp NOT NULL
DEFAULT
'0000-00-00 00:00:00',
`ifnull(l,l)` datetime
DEFAULT
NULL,
`ifnull(m,m)` varchar(1)
DEFAULT
NULL,
`ifnull(n,n)` varchar(3)
DEFAULT
NULL,
`ifnull(o,o)` varchar(10)
DEFAULT
NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1
drop table t1,t2;
create table t1(str varchar(10) default 'def',strnull varchar(10),intg int default '10',rel double default '3.14');
...
...
mysql-test/r/type_float.result
View file @
e1044ab5
...
...
@@ -91,10 +91,10 @@ col1 col2 col3 col4
show create table t2;
Table Create Table
t2 CREATE TABLE `t2` (
`col1` double
default
NULL,
`col2` double(22,5)
default
NULL,
`col3` double
default
NULL,
`col4` double
default
NULL
`col1` double
DEFAULT
NULL,
`col2` double(22,5)
DEFAULT
NULL,
`col3` double
DEFAULT
NULL,
`col4` double
DEFAULT
NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1
drop table t1,t2;
create table t1 (a float);
...
...
@@ -237,7 +237,7 @@ d
show create table t3;
Table Create Table
t3 CREATE TABLE `t3` (
`d` double
default
NULL
`d` double
DEFAULT
NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1
drop table t1, t2, t3;
create table t1 select 105213674794682365.00 + 0.0 x;
...
...
mysql-test/r/union.result
View file @
e1044ab5
...
...
@@ -554,7 +554,7 @@ aa
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`a` varbinary(2) NOT NULL
default
''
`a` varbinary(2) NOT NULL
DEFAULT
''
) ENGINE=MyISAM DEFAULT CHARSET=latin1
drop table t1;
create table t1 SELECT 12 as a UNION select 12.2 as a;
...
...
@@ -655,7 +655,7 @@ f
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`f` varbinary(12)
default
NULL
`f` varbinary(12)
DEFAULT
NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1
drop table t1;
create table t1 SELECT y from t2 UNION select da from t2;
...
...
mysql-test/r/view.result
View file @
e1044ab5
...
...
@@ -3338,8 +3338,6 @@ v1 CREATE ALGORITHM=UNDEFINED DEFINER=`no_such`@`user_1` SQL SECURITY DEFINER VI
Warnings:
Note 1449 There is no 'no_such'@'user_1' registered
ALTER ALGORITHM=MERGE VIEW v1 AS SELECT * FROM t1;
Warnings:
Note 1449 There is no 'no_such'@'user_1' registered
SHOW CREATE VIEW v1;
View Create View
v1 CREATE ALGORITHM=MERGE DEFINER=`no_such`@`user_1` SQL SECURITY DEFINER VIEW `v1` AS select `t1`.`i` AS `i` from `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