From 3dd01669b41bfad75f4a785d6263eb0f729b0213 Mon Sep 17 00:00:00 2001 From: "luz.paz" Date: Sat, 24 Feb 2018 12:42:13 -0500 Subject: Misc. typos Found via `codespell -i 3 -w --skip="./debian/po" -I ../mariadb-server-word-whitelist.txt ./cmake/ ./debian/ ./Docs/ ./include/ ./man/ ./plugin/ ./strings/` --- strings/decimal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'strings/decimal.c') 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; -- cgit v1.2.1