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
9820e00c
Commit
9820e00c
authored
Nov 01, 2004
by
serg@serg.mylan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stript end zeros before comparison
parent
b0045f9e
Changes
1
Hide 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 @
9820e00c
...
...
@@ -1060,6 +1060,10 @@ static int do_sub(decimal *from1, decimal *from2, decimal *to)
carry
=
1
;
else
if
(
intg2
==
intg1
)
{
while
(
unlikely
(
stop1
[
frac1
-
1
]
==
0
))
frac1
--
;
while
(
unlikely
(
stop2
[
frac2
-
1
]
==
0
))
frac2
--
;
while
(
buf1
<
stop1
+
frac1
&&
buf2
<
stop2
+
frac2
&&
*
buf1
==
*
buf2
)
buf1
++
,
buf2
++
;
if
(
buf1
<
stop1
+
frac1
)
...
...
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