diff options
author | klemens <ka7@github.com> | 2017-02-26 16:49:47 +0100 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2017-03-07 13:38:06 +0400 |
commit | 7be541f281225aae8e04bff4210b67688be080bc (patch) | |
tree | f6ba5f7862669d13b4c425d44baa7528f42da1d3 /mysys/my_compare.c | |
parent | e823023e4bb48b0db9ee91477076fc20db704769 (diff) | |
download | mariadb-git-7be541f281225aae8e04bff4210b67688be080bc.tar.gz |
spelling fixes
Diffstat (limited to 'mysys/my_compare.c')
-rw-r--r-- | mysys/my_compare.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysys/my_compare.c b/mysys/my_compare.c index 6de7ff774c0..7fb2ef97916 100644 --- a/mysys/my_compare.c +++ b/mysys/my_compare.c @@ -99,12 +99,12 @@ static int compare_bin(const uchar *a, uint a_length, Example1: if the function is called for tuples ('aaa','bbb') and ('eee','fff'), then diff_pos[0] = 1 (as 'aaa' != 'eee') - diff_pos[1] = 0 (offset from beggining of tuple b to 'eee' keypart). + diff_pos[1] = 0 (offset from beginning of tuple b to 'eee' keypart). Example2: if the index function is called for tuples ('aaa','bbb') and ('aaa','fff'), diff_pos[0] = 2 (as 'aaa' != 'eee') - diff_pos[1] = 3 (offset from beggining of tuple b to 'fff' keypart, + diff_pos[1] = 3 (offset from beginning of tuple b to 'fff' keypart, here we assume that first key part is CHAR(3) NOT NULL) NOTES |