summaryrefslogtreecommitdiff
path: root/strings/decimal.c
diff options
context:
space:
mode:
authorluz.paz <luzpaz@users.noreply.github.com>2018-02-24 12:42:13 -0500
committerSergey Vojtovich <svoj@mariadb.org>2018-04-05 15:26:57 +0400
commit3dd01669b41bfad75f4a785d6263eb0f729b0213 (patch)
tree5305ec00d62be464b111583d32618bf4c0371000 /strings/decimal.c
parent7c689300317793d1396b7a24f86452882d3180c2 (diff)
downloadmariadb-git-3dd01669b41bfad75f4a785d6263eb0f729b0213.tar.gz
Misc. typos
Found via `codespell -i 3 -w --skip="./debian/po" -I ../mariadb-server-word-whitelist.txt ./cmake/ ./debian/ ./Docs/ ./include/ ./man/ ./plugin/ ./strings/`
Diffstat (limited to 'strings/decimal.c')
-rw-r--r--strings/decimal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/strings/decimal.c b/strings/decimal.c
index 74b8d2ed8e5..c64fe189565 100644
--- a/strings/decimal.c
+++ b/strings/decimal.c
@@ -739,7 +739,7 @@ int decimal_shift(decimal_t *dec, int shift)
/*
If there are gaps then fill ren with 0.
- Only one of following 'for' loops will work becouse beg <= end
+ Only one of following 'for' loops will work because beg <= end
*/
beg= ROUND_UP(beg + 1) - 1;
end= ROUND_UP(end) - 1;
@@ -863,7 +863,7 @@ internal_str2dec(const char *from, decimal_t *to, char **end, my_bool fixed)
intg=intg1*DIG_PER_DEC1;
}
}
- /* Error is guranteed to be set here */
+ /* Error is guaranteed to be set here */
to->intg=intg;
to->frac=frac;