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
4eea8426
Commit
4eea8426
authored
Nov 02, 2005
by
holyfoot@deer.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Additional fix for #13573
parent
6b5c422f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
strings/decimal.c
strings/decimal.c
+4
-0
No files found.
strings/decimal.c
View file @
4eea8426
...
@@ -1986,8 +1986,12 @@ int decimal_mul(decimal_t *from1, decimal_t *from2, decimal_t *to)
...
@@ -1986,8 +1986,12 @@ int decimal_mul(decimal_t *from1, decimal_t *from2, decimal_t *to)
carry
+=
hi
;
carry
+=
hi
;
}
}
for
(;
carry
;
buf0
--
)
for
(;
carry
;
buf0
--
)
{
if
(
buf0
<
to
->
buf
)
return
E_DEC_OVERFLOW
;
ADD
(
*
buf0
,
*
buf0
,
0
,
carry
);
ADD
(
*
buf0
,
*
buf0
,
0
,
carry
);
}
}
}
/* Now we have to check for -0.000 case */
/* Now we have to check for -0.000 case */
if
(
to
->
sign
)
if
(
to
->
sign
)
...
...
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