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
5b3ea1ab
Commit
5b3ea1ab
authored
Feb 13, 2005
by
hf@deer.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for bug 8416 (bigint test fails on PPC)
parent
ccb2f338
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
strings/decimal.c
strings/decimal.c
+1
-1
No files found.
strings/decimal.c
View file @
5b3ea1ab
...
@@ -1189,7 +1189,7 @@ int bin2decimal(char *from, decimal *to, int precision, int scale)
...
@@ -1189,7 +1189,7 @@ int bin2decimal(char *from, decimal *to, int precision, int scale)
intg0
=
intg
/
DIG_PER_DEC1
,
frac0
=
scale
/
DIG_PER_DEC1
,
intg0
=
intg
/
DIG_PER_DEC1
,
frac0
=
scale
/
DIG_PER_DEC1
,
intg0x
=
intg
-
intg0
*
DIG_PER_DEC1
,
frac0x
=
scale
-
frac0
*
DIG_PER_DEC1
,
intg0x
=
intg
-
intg0
*
DIG_PER_DEC1
,
frac0x
=
scale
-
frac0
*
DIG_PER_DEC1
,
intg1
=
intg0
+
(
intg0x
>
0
),
frac1
=
frac0
+
(
frac0x
>
0
);
intg1
=
intg0
+
(
intg0x
>
0
),
frac1
=
frac0
+
(
frac0x
>
0
);
dec1
*
buf
=
to
->
buf
,
mask
=
(
*
from
<
0
)
?
0
:
-
1
;
dec1
*
buf
=
to
->
buf
,
mask
=
(
*
from
&
0x8
0
)
?
0
:
-
1
;
char
*
stop
;
char
*
stop
;
char
*
d_copy
;
char
*
d_copy
;
int
bin_size
=
decimal_bin_size
(
precision
,
scale
);
int
bin_size
=
decimal_bin_size
(
precision
,
scale
);
...
...
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