summaryrefslogtreecommitdiff
path: root/sql/key.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/key.cc')
-rw-r--r--sql/key.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/key.cc b/sql/key.cc
index 875a89a146f..38ab596e213 100644
--- a/sql/key.cc
+++ b/sql/key.cc
@@ -194,7 +194,8 @@ int key_cmp(TABLE *table,const byte *key,uint idx,uint key_length)
{
if (my_strnncoll(key_part->field->charset(),
(const uchar*) key, length,
- (const uchar*) table->record[0]+key_part->offset,length))
+ (const uchar*) table->record[0]+key_part->offset,
+ length))
return 1;
}
else if (memcmp(key,table->record[0]+key_part->offset,length))