• marko's avatar
    Prevent ALTER TABLE ... MODIFY ... NOT NULL on columns for which · 4cc5ef04
    marko authored
    there is a foreign key constraint ON ... SET NULL.  (Bug #25927)
    
    dict_foreign_find_index(): Add paramettter check_null.
    
    dict_foreign_add_to_cache(): Do not allow ON DELETE SET NULL
    or ON UPDATE SET NULL if any of the referencing columns are declared NOT NULL.
    4cc5ef04
dict0dict.c 106 KB