← Back to team overview

maria-developers team mailing list archive

How to change max key length for MyISAM?

 

Sorry, for private question, but I did not know where to ask.
mariadb-10.3.27.

I changed in include/myisam.h:

#define MI_MAX_KEY_LENGTH           3072            /* Max length in bytes */

but, it did not help, still this ERROR 1071 (42000): Specified key was too long; max key length is 1000 bytes.

What more to change to get key length 3072 for MyISAM tables?
And what can be negative impact of such a change?

Witold Filipczyk


Follow ups