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
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
Hide 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
3 456789
select grp, group_concat(a separator "")+0.0 from t1 group by grp;
grp group_concat(a separator "")+0.0
1 1
2 23
3 456789
1 1
.0
2 23
.0
3 456789
.0
select grp, ROUND(group_concat(a separator "")) from t1 group by grp;
grp ROUND(group_concat(a separator ""))
1 1
...
...
mysql-test/r/type_float.result
View file @
12fcabbb
...
...
@@ -245,22 +245,22 @@ show warnings;
Level Code Message
desc t1;
Field Type Null Key Default Extra
x d
ouble
0
x d
ecimal(21,2) unsigned NO 0.0
0
drop table t1;
create table t1 select 0.0 x;
desc t1;
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;
desc t2;
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;
show warnings;
Level Code Message
desc t3;
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;
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').
...
...
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