• marko's avatar
    Prevent ALTER TABLE ... MODIFY ... NOT NULL on columns for which · 7b2e60e1
    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.
    7b2e60e1
dict0dict.c 106 KB