summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2011-11-08 23:07:19 +0100
committerSergei Golubchik <sergii@pisem.net>2011-11-08 23:07:19 +0100
commit04f3ecf632816a940e2838949e0216d638436fd8 (patch)
tree133bba7d41b052dae9b6947cd41545016f507fdf /sql
parent28e2777991b238d770529d0438e4f18fbfc3e271 (diff)
downloadmariadb-git-04f3ecf632816a940e2838949e0216d638436fd8.tar.gz
typos fixed
(thanks viva64.com)
Diffstat (limited to 'sql')
-rw-r--r--sql/records.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/records.cc b/sql/records.cc
index 827450201c9..a3aca6a14ac 100644
--- a/sql/records.cc
+++ b/sql/records.cc
@@ -621,7 +621,7 @@ static int rr_cmp(uchar *a,uchar *b)
if (a[4] != b[4])
return (int) a[4] - (int) b[4];
if (a[5] != b[5])
- return (int) a[1] - (int) b[5];
+ return (int) a[5] - (int) b[5];
if (a[6] != b[6])
return (int) a[6] - (int) b[6];
return (int) a[7] - (int) b[7];