summaryrefslogtreecommitdiff
path: root/myisam
diff options
context:
space:
mode:
authorunknown <svoj@mysql.com>2005-08-02 12:57:26 +0500
committerunknown <svoj@mysql.com>2005-08-02 12:57:26 +0500
commitad26ba2543687bc7ff2d143e1bdb3122951ae61c (patch)
treec85610aa73f8e8de878e7c75d458986d8f995e31 /myisam
parent82a3e84524f06a2ecf2f3e74ba32ab4361485869 (diff)
downloadmariadb-git-ad26ba2543687bc7ff2d143e1bdb3122951ae61c.tar.gz
After merge fix.
Diffstat (limited to 'myisam')
-rw-r--r--myisam/sort.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/myisam/sort.c b/myisam/sort.c
index 0bbf7efa659..e8cd9938e42 100644
--- a/myisam/sort.c
+++ b/myisam/sort.c
@@ -589,7 +589,7 @@ int thr_write_keys(MI_SORT_PARAM *sort_param)
!my_b_read(&sinfo->tempfile_for_exceptions,(byte*)&key_length,
sizeof(key_length)))
{
- byte ft_buf[HA_FT_MAXLEN + HA_FT_WLEN + 10];
+ byte ft_buf[HA_FT_MAXBYTELEN + HA_FT_WLEN + 10];
if (key_length > sizeof(ft_buf) ||
my_b_read(&sinfo->tempfile_for_exceptions, (byte*)ft_buf,
(uint)key_length) ||