Skip to content

Commit 56e41fb

Browse files
author
Chaithra Reddy
committed
Merge from mysql-5.5 to mysql-5.6
2 parents 5299e1e + 57fc024 commit 56e41fb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

strings/decimal.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
1+
/* Copyright (c) 2004, 2014, Oracle and/or its affiliates. All rights reserved.
22
33
This program is free software; you can redistribute it and/or modify
44
it under the terms of the GNU General Public License as published by
@@ -2421,7 +2421,7 @@ static int do_div_mod(const decimal_t *from1, const decimal_t *from2,
24212421
error=E_DEC_TRUNCATED;
24222422
goto done;
24232423
}
2424-
stop1=start1+frac0;
2424+
stop1= start1 + frac0 + intg0;
24252425
frac0+=intg0;
24262426
to->intg=0;
24272427
while (intg0++ < 0)

0 commit comments

Comments
 (0)