• iggy@amd64.(none)'s avatar
    Bug#27029 alter table ... enable keys crashes mysqld on large table · 39416f50
    iggy@amd64.(none) authored
    - When creating an index for the sort, the number of rows plus 1 is used 
    to allocate a buffer.  In this test case, the number of rows 4294967295 
    is the max value of an unsigned integer, so when 1 was added to it, a 
    buffer of size 0 was allocated causing the crash.
    - Create new test suite for this bug's test suite as per QA.
    39416f50
alter_table.test 1.52 KB