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
34950be0
Commit
34950be0
authored
Feb 28, 2004
by
Greg@greg-laptop
Browse files
Options
Browse Files
Download
Plain Diff
Merge gweir@build.mysql.com:/home/bk/mysql-4.1
into greg-laptop.:C:/cygwin/bk/mysql-4.1
parents
9cee994b
9200fe3b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
mysql-test/r/func_misc.result
mysql-test/r/func_misc.result
+3
-3
mysql-test/t/func_misc.test
mysql-test/t/func_misc.test
+1
-1
No files found.
mysql-test/r/func_misc.result
View file @
34950be0
select format(1.5555,0),format(123.5555,1),format(1234.5555,2),format(12345.5555,3),format(123456.5555,4),format(1234567.5555,5),format("12345.2399",2);
format(1.5555,0) format(123.5555,1) format(1234.5555,2) format(12345.5555,3) format(123456.5555,4) format(1234567.5555,5) format("12345.2399",2)
2 123.6 1,234.56 12,345.55
5
123,456.5555 1,234,567.55550 12,345.24
select format(1.5555,0),format(123.5555,1),format(1234.5555,2),format(12345.5555
5
,3),format(123456.5555,4),format(1234567.5555,5),format("12345.2399",2);
format(1.5555,0) format(123.5555,1) format(1234.5555,2) format(12345.5555
5
,3) format(123456.5555,4) format(1234567.5555,5) format("12345.2399",2)
2 123.6 1,234.56 12,345.55
6
123,456.5555 1,234,567.55550 12,345.24
select inet_ntoa(inet_aton("255.255.255.255.255.255.255.255"));
inet_ntoa(inet_aton("255.255.255.255.255.255.255.255"))
NULL
...
...
mysql-test/t/func_misc.test
View file @
34950be0
...
...
@@ -2,7 +2,7 @@
# Testing of misc functions
#
select
format
(
1.5555
,
0
),
format
(
123.5555
,
1
),
format
(
1234.5555
,
2
),
format
(
12345.5555
,
3
),
format
(
123456.5555
,
4
),
format
(
1234567.5555
,
5
),
format
(
"12345.2399"
,
2
);
select
format
(
1.5555
,
0
),
format
(
123.5555
,
1
),
format
(
1234.5555
,
2
),
format
(
12345.5555
5
,
3
),
format
(
123456.5555
,
4
),
format
(
1234567.5555
,
5
),
format
(
"12345.2399"
,
2
);
select
inet_ntoa
(
inet_aton
(
"255.255.255.255.255.255.255.255"
));
select
inet_aton
(
"255.255.255.255.255"
),
inet_aton
(
"255.255.1.255"
),
inet_aton
(
"0.1.255"
);
...
...
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