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
d75c9dc1
Commit
d75c9dc1
authored
Feb 16, 2005
by
hf@deer.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for bug #8534 (Compile errors in Precision Math code on Windows)
parent
48ff0f4c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
sql/filesort.cc
sql/filesort.cc
+1
-1
sql/my_decimal.cc
sql/my_decimal.cc
+1
-1
sql/my_decimal.h
sql/my_decimal.h
+2
-2
No files found.
sql/filesort.cc
View file @
d75c9dc1
...
@@ -719,7 +719,7 @@ static void make_sortkey(register SORTPARAM *param,
...
@@ -719,7 +719,7 @@ static void make_sortkey(register SORTPARAM *param,
}
}
*
to
++=
1
;
*
to
++=
1
;
}
}
my_decimal2binary
(
E_DEC_FATAL_ERROR
,
dec_val
,
(
byte
*
)
to
,
my_decimal2binary
(
E_DEC_FATAL_ERROR
,
dec_val
,
(
char
*
)
to
,
item
->
max_length
-
(
item
->
decimals
?
1
:
0
),
item
->
max_length
-
(
item
->
decimals
?
1
:
0
),
item
->
decimals
);
item
->
decimals
);
break
;
break
;
...
...
sql/my_decimal.cc
View file @
d75c9dc1
...
@@ -116,7 +116,7 @@ int my_decimal2string(uint mask, const my_decimal *d,
...
@@ -116,7 +116,7 @@ int my_decimal2string(uint mask, const my_decimal *d,
E_DEC_OVERFLOW
E_DEC_OVERFLOW
*/
*/
int
my_decimal2binary
(
uint
mask
,
const
my_decimal
*
d
,
byte
*
bin
,
int
prec
,
int
my_decimal2binary
(
uint
mask
,
const
my_decimal
*
d
,
char
*
bin
,
int
prec
,
int
scale
)
int
scale
)
{
{
int
err1
=
E_DEC_OK
,
err2
;
int
err1
=
E_DEC_OK
,
err2
;
...
...
sql/my_decimal.h
View file @
d75c9dc1
...
@@ -150,12 +150,12 @@ void my_decimal2decimal(const my_decimal *from, my_decimal *to)
...
@@ -150,12 +150,12 @@ void my_decimal2decimal(const my_decimal *from, my_decimal *to)
}
}
int
my_decimal2binary
(
uint
mask
,
const
my_decimal
*
d
,
byte
*
bin
,
int
prec
,
int
my_decimal2binary
(
uint
mask
,
const
my_decimal
*
d
,
char
*
bin
,
int
prec
,
int
scale
);
int
scale
);
inline
inline
int
binary2my_decimal
(
uint
mask
,
const
byte
*
bin
,
my_decimal
*
d
,
int
prec
,
int
binary2my_decimal
(
uint
mask
,
const
char
*
bin
,
my_decimal
*
d
,
int
prec
,
int
scale
)
int
scale
)
{
{
return
check_result
(
mask
,
bin2decimal
((
char
*
)
bin
,
(
decimal
*
)
d
,
prec
,
return
check_result
(
mask
,
bin2decimal
((
char
*
)
bin
,
(
decimal
*
)
d
,
prec
,
...
...
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