Hi! Ok, I found that in unireg.h MAX_KEY_LENGTH is defined as 500, and that is used, for example, in the opt_range.cc PARAM struct as the key value buffer size. A memory overrun will happen if a key length is > 500 bytes.
InnoDB allows keys up 3500 bytes in size. Fix: change MAX_KEY_LENGTH in unireg.h to 4000 bytes and let myisam etc. table handlers return their specific values (= 500 bytes) in their max_key_length() function. Regards, Heikki Tuuri Innobase Oy --- Order commercial MySQL/InnoDB support at https://order.mysql.com/ See http://www.innodb.com for the online manual and latest news on InnoDB --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php