summaryrefslogtreecommitdiff
path: root/strings/ctype-win1250ch.c
diff options
context:
space:
mode:
authorunknown <konstantin@mysql.com>2005-01-13 17:31:49 +0300
committerunknown <konstantin@mysql.com>2005-01-13 17:31:49 +0300
commit6a7956dce0e510c2cb3c127be2be2e4960fd258f (patch)
tree589a6b326750729b4c6b6133c6f985394d9d387a /strings/ctype-win1250ch.c
parent0906c576bd12f5bdcf78a17a1e03d22815279204 (diff)
parent8dea326cf9f060588cda6a824e8a90a222ac0285 (diff)
downloadmariadb-git-6a7956dce0e510c2cb3c127be2be2e4960fd258f.tar.gz
manual merge
mysql-test/r/ctype_latin1_de.result: Auto merged mysql-test/r/ctype_tis620.result: Auto merged mysql-test/r/ctype_ucs.result: Auto merged mysql-test/r/ctype_ujis.result: Auto merged mysql-test/r/ctype_utf8.result: Auto merged mysql-test/t/ctype_ucs.test: Auto merged sql/field.cc: Auto merged sql/filesort.cc: Auto merged strings/ctype-big5.c: Auto merged strings/ctype-bin.c: Auto merged strings/ctype-czech.c: Auto merged strings/ctype-gbk.c: Auto merged strings/ctype-latin1.c: Auto merged strings/ctype-mb.c: Auto merged strings/ctype-simple.c: Auto merged strings/ctype-sjis.c: Auto merged strings/ctype-tis620.c: Auto merged strings/ctype-uca.c: Auto merged strings/ctype-ucs2.c: Auto merged strings/ctype-utf8.c: Auto merged strings/ctype-win1250ch.c: Auto merged
Diffstat (limited to 'strings/ctype-win1250ch.c')
-rw-r--r--strings/ctype-win1250ch.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/strings/ctype-win1250ch.c b/strings/ctype-win1250ch.c
index 397dcd6f2f2..b58a8f0f1e5 100644
--- a/strings/ctype-win1250ch.c
+++ b/strings/ctype-win1250ch.c
@@ -505,7 +505,9 @@ static int my_strnxfrm_win1250ch(CHARSET_INFO * cs __attribute__((unused)),
dest[totlen] = value;
totlen++;
} while (value) ;
- return totlen;
+ if (len > totlen)
+ bfill(dest + totlen, len - totlen, ' ');
+ return len;
}
#undef IS_END