summaryrefslogtreecommitdiff
path: root/strings/decimal.c
diff options
context:
space:
mode:
authormonty@mysql.com <>2005-10-08 03:37:23 +0300
committermonty@mysql.com <>2005-10-08 03:37:23 +0300
commit17d7ba931d2293f1db89cbd1107a4bc71bc4fcdf (patch)
treeac2ca2aacd05cc4eb1bec0b1f8c909b9d64fa2e6 /strings/decimal.c
parentdad1e2048d3ac1477557a2645ccd323143601723 (diff)
parentf577ebb88fc4f56f440ee3736b54512d528ca0a9 (diff)
downloadmariadb-git-17d7ba931d2293f1db89cbd1107a4bc71bc4fcdf.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/my/mysql-5.0
Diffstat (limited to 'strings/decimal.c')
-rw-r--r--strings/decimal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/strings/decimal.c b/strings/decimal.c
index ce00b9770b3..ea6ac2caf38 100644
--- a/strings/decimal.c
+++ b/strings/decimal.c
@@ -2018,7 +2018,7 @@ int decimal_mul(decimal_t *from1, decimal_t *from2, decimal_t *to)
if (to->buf < buf1)
{
dec1 *cur_d= to->buf;
- for (; d_to_move; d_to_move--, cur_d++, buf1++)
+ for (; d_to_move--; cur_d++, buf1++)
*cur_d= *buf1;
}
return error;