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
09e05035
Commit
09e05035
authored
Nov 02, 2004
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal:/home/bk/mysql-5.0/
into serg.mylan:/usr/home/serg/Abk/mysql-5.0
parents
4fda18b3
8b33a453
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
strings/decimal.c
strings/decimal.c
+1
-0
No files found.
strings/decimal.c
View file @
09e05035
...
@@ -1362,6 +1362,7 @@ static int do_div_mod(decimal *from1, decimal *from2,
...
@@ -1362,6 +1362,7 @@ static int do_div_mod(decimal *from1, decimal *from2,
*
buf0
++=
0
;
*
buf0
++=
0
;
len1
=
(
i
=
ROUND_UP
(
prec1
))
+
ROUND_UP
(
2
*
frac2
+
scale_incr
+
1
);
len1
=
(
i
=
ROUND_UP
(
prec1
))
+
ROUND_UP
(
2
*
frac2
+
scale_incr
+
1
);
set_if_bigger
(
len1
,
3
);
if
(
!
(
tmp1
=
my_alloca
(
len1
*
sizeof
(
dec1
))))
if
(
!
(
tmp1
=
my_alloca
(
len1
*
sizeof
(
dec1
))))
return
E_DEC_OOM
;
return
E_DEC_OOM
;
memcpy
(
tmp1
,
buf1
,
i
*
sizeof
(
dec1
));
memcpy
(
tmp1
,
buf1
,
i
*
sizeof
(
dec1
));
...
...
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