summaryrefslogtreecommitdiff
path: root/storage/maria/ma_info.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/maria/ma_info.c')
-rw-r--r--storage/maria/ma_info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/maria/ma_info.c b/storage/maria/ma_info.c
index 6d40f804880..f0b04e020c2 100644
--- a/storage/maria/ma_info.c
+++ b/storage/maria/ma_info.c
@@ -31,7 +31,7 @@ MARIA_RECORD_POS maria_position(MARIA_HA *info)
uint maria_max_key_length()
{
uint tmp= (_ma_max_key_length() - 8 - HA_MAX_KEY_SEG*3);
- return MY_MIN(HA_MAX_KEY_LENGTH, tmp);
+ return MY_MIN(MARIA_MAX_KEY_LENGTH, tmp);
}
/* Get information about the table */