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
da4dd3c3
Commit
da4dd3c3
authored
May 28, 2007
by
kaa@polly.local
Browse files
Options
Browse Files
Download
Plain Diff
Merge polly.local:/home/kaa/src/maint/mysql-5.0-maint
into polly.local:/home/kaa/src/maint/mysql-5.1-maint
parents
57917510
afc59d33
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
include/m_string.h
include/m_string.h
+2
-2
sql/field.cc
sql/field.cc
+1
-1
strings/strtod.c
strings/strtod.c
+2
-2
No files found.
include/m_string.h
View file @
da4dd3c3
...
...
@@ -93,8 +93,8 @@ extern char NEAR _dig_vec_upper[];
extern
char
NEAR
_dig_vec_lower
[];
/* Defined in strtod.c */
extern
const
double
log_10
[
3
10
];
extern
const
double
log_01
[
3
10
];
extern
const
double
log_10
[
3
09
];
extern
const
double
log_01
[
3
09
];
#ifdef BAD_STRING_COMPILER
#define strmov(A,B) (memccpy(A,B,0,INT_MAX)-1)
...
...
sql/field.cc
View file @
da4dd3c3
...
...
@@ -3770,7 +3770,7 @@ int Field_float::store(double nr)
{
ASSERT_COLUMN_MARKED_FOR_WRITE
;
int
error
=
truncate
(
&
nr
,
FLT_MAX
);
float
j
=
nr
;
float
j
=
(
float
)
nr
;
#ifdef WORDS_BIGENDIAN
if
(
table
->
s
->
db_low_byte_first
)
...
...
strings/strtod.c
View file @
da4dd3c3
...
...
@@ -63,7 +63,7 @@ const double log_10[] = {
1e270
,
1e271
,
1e272
,
1e273
,
1e274
,
1e275
,
1e276
,
1e277
,
1e278
,
1e279
,
1e280
,
1e281
,
1e282
,
1e283
,
1e284
,
1e285
,
1e286
,
1e287
,
1e288
,
1e289
,
1e290
,
1e291
,
1e292
,
1e293
,
1e294
,
1e295
,
1e296
,
1e297
,
1e298
,
1e299
,
1e300
,
1e301
,
1e302
,
1e303
,
1e304
,
1e305
,
1e306
,
1e307
,
1e308
,
1e309
1e300
,
1e301
,
1e302
,
1e303
,
1e304
,
1e305
,
1e306
,
1e307
,
1e308
};
const
double
log_01
[]
=
{
...
...
@@ -97,7 +97,7 @@ const double log_01[] = {
1e-270
,
1e-271
,
1e-272
,
1e-273
,
1e-274
,
1e-275
,
1e-276
,
1e-277
,
1e-278
,
1e-279
,
1e-280
,
1e-281
,
1e-282
,
1e-283
,
1e-284
,
1e-285
,
1e-286
,
1e-287
,
1e-288
,
1e-289
,
1e-290
,
1e-291
,
1e-292
,
1e-293
,
1e-294
,
1e-295
,
1e-296
,
1e-297
,
1e-298
,
1e-299
,
1e-300
,
1e-301
,
1e-302
,
1e-303
,
1e-304
,
1e-305
,
1e-306
,
1e-307
,
1e-308
,
1e-309
1e-300
,
1e-301
,
1e-302
,
1e-303
,
1e-304
,
1e-305
,
1e-306
,
1e-307
,
1e-308
};
/*
...
...
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