hi!
>>>>> "Heikki" == Heikki Tuuri <[EMAIL PROTECTED]> writes: Heikki> Hi! Heikki> Ok, I found that in unireg.h MAX_KEY_LENGTH is defined as 500, and that is Heikki> used, for example, in the opt_range.cc PARAM struct as the key value buffer Heikki> size. A memory overrun will happen if a key length is > 500 bytes. Heikki> InnoDB allows keys up 3500 bytes in size. Heikki> Fix: change MAX_KEY_LENGTH in unireg.h to 4000 bytes and let myisam etc. Heikki> table handlers return their specific values (= 500 bytes) in their Heikki> max_key_length() function. We can't at this point change MAX_KEY_LENGTH to > 500, as this could easily cause stack overruns. I have now added a fix that will limit the key to MAX_KEY_LENGTH, until we have time to do all key handling more dynamic. Regards, Monty --------------------------------------------------------------------- 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