• Ramil Kalimullin's avatar
    Bug#11764487: myisam corruption with insert ignore and invalid spatial data · 55015ea0
    Ramil Kalimullin authored
    Problem: in case of wrong data insert into indexed GEOMETRY fields 
    (e.g. NULL value for a not NULL field) MyISAM reported 
    "ERROR 126 (HY000): Incorrect key file for table; try to repair it"
    due to misuse of the key deletion function.
    
    Fix: always use R-tree key functions for R-tree based indexes
    and B-tree key functions for B-tree based indexes.
    55015ea0
gis-rtree.test 43.7 KB