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
12fcabbb
Commit
12fcabbb
authored
Jan 21, 2006
by
holyfoot@eagle.intranet.mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merging
parent
4f368f9f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
mysql-test/r/func_gconcat.result
mysql-test/r/func_gconcat.result
+3
-3
mysql-test/r/type_float.result
mysql-test/r/type_float.result
+4
-4
No files found.
mysql-test/r/func_gconcat.result
View file @
12fcabbb
...
@@ -131,9 +131,9 @@ grp group_concat(a separator "")+0
...
@@ -131,9 +131,9 @@ grp group_concat(a separator "")+0
3 456789
3 456789
select grp, group_concat(a separator "")+0.0 from t1 group by grp;
select grp, group_concat(a separator "")+0.0 from t1 group by grp;
grp group_concat(a separator "")+0.0
grp group_concat(a separator "")+0.0
1 1
1 1
.0
2 23
2 23
.0
3 456789
3 456789
.0
select grp, ROUND(group_concat(a separator "")) from t1 group by grp;
select grp, ROUND(group_concat(a separator "")) from t1 group by grp;
grp ROUND(group_concat(a separator ""))
grp ROUND(group_concat(a separator ""))
1 1
1 1
...
...
mysql-test/r/type_float.result
View file @
12fcabbb
...
@@ -245,22 +245,22 @@ show warnings;
...
@@ -245,22 +245,22 @@ show warnings;
Level Code Message
Level Code Message
desc t1;
desc t1;
Field Type Null Key Default Extra
Field Type Null Key Default Extra
x d
ouble
0
x d
ecimal(21,2) unsigned NO 0.0
0
drop table t1;
drop table t1;
create table t1 select 0.0 x;
create table t1 select 0.0 x;
desc t1;
desc t1;
Field Type Null Key Default Extra
Field Type Null Key Default Extra
x d
ouble(3,1)
0.0
x d
ecimal(2,1) unsigned NO
0.0
create table t2 select 105213674794682365.00 y;
create table t2 select 105213674794682365.00 y;
desc t2;
desc t2;
Field Type Null Key Default Extra
Field Type Null Key Default Extra
y d
ouble(21,2)
0.00
y d
ecimal(20,2) unsigned NO
0.00
create table t3 select x+y a from t1,t2;
create table t3 select x+y a from t1,t2;
show warnings;
show warnings;
Level Code Message
Level Code Message
desc t3;
desc t3;
Field Type Null Key Default Extra
Field Type Null Key Default Extra
a d
ouble
0
a d
ecimal(21,2) unsigned NO 0.0
0
drop table t1,t2,t3;
drop table t1,t2,t3;
create table t1 (s1 float(0,2));
create table t1 (s1 float(0,2));
ERROR 42000: For float(M,D), double(M,D) or decimal(M,D), M must be >= D (column 's1').
ERROR 42000: For float(M,D), double(M,D) or decimal(M,D), M must be >= D (column 's1').
...
...
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