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
4f3062d9
Commit
4f3062d9
authored
Feb 24, 2004
by
serg@serg.mylan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor omission that effectively disabled my_strtod fixed :)
parent
da9ad428
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
3 deletions
+6
-3
mysql-test/r/bigint.result
mysql-test/r/bigint.result
+3
-0
mysql-test/r/func_misc.result
mysql-test/r/func_misc.result
+1
-1
mysql-test/t/bigint.test
mysql-test/t/bigint.test
+1
-1
strings/strtod.c
strings/strtod.c
+1
-1
No files found.
mysql-test/r/bigint.result
View file @
4f3062d9
...
...
@@ -84,3 +84,6 @@ quantity
10000000000000000000
10000000000000000000
drop table t1;
SELECT '0x8000000000000001'+0;
'0x8000000000000001'+0
0
mysql-test/r/func_misc.result
View file @
4f3062d9
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
6
123,456.5555 1,234,567.55550 12,345.24
2 123.6 1,234.56 12,345.55
5
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/bigint.test
View file @
4f3062d9
...
...
@@ -69,5 +69,5 @@ select * from t1;
drop
table
t1
;
# atof() behaviour is different of different systems. to be fixed in 4.1
#
SELECT '0x8000000000000001'+0;
SELECT
'0x8000000000000001'
+
0
;
strings/strtod.c
View file @
4f3062d9
...
...
@@ -135,6 +135,6 @@ double my_strtod(const char *str, char **end)
double
my_atof
(
const
char
*
nptr
)
{
return
(
strtod
(
nptr
,
0
));
return
(
my_
strtod
(
nptr
,
0
));
}
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