summaryrefslogtreecommitdiff
path: root/sql/records.cc
diff options
context:
space:
mode:
authorTor Didriksen <tor.didriksen@oracle.com>2012-06-05 16:12:22 +0200
committerTor Didriksen <tor.didriksen@oracle.com>2012-06-05 16:12:22 +0200
commit71b101fcb31a2d370a8d9e4e5dac0a5604b514dd (patch)
tree4cd2ab29a9a97826222be51079d2e980b4f24278 /sql/records.cc
parent6e2ce8739c76fff5d5cf6ef9b7c9ae9dc157fc21 (diff)
parent2b085e1fba410ceaea2585c9cff511a9cfd2f7ae (diff)
downloadmariadb-git-71b101fcb31a2d370a8d9e4e5dac0a5604b514dd.tar.gz
merge 5.1 => 5.5
Diffstat (limited to 'sql/records.cc')
-rw-r--r--sql/records.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/records.cc b/sql/records.cc
index 2274b1b5699..55859e05f29 100644
--- a/sql/records.cc
+++ b/sql/records.cc
@@ -690,7 +690,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];