diff options
Diffstat (limited to 'sql/table.cc')
-rw-r--r-- | sql/table.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/table.cc b/sql/table.cc index 144720986f2..86eac73a416 100644 --- a/sql/table.cc +++ b/sql/table.cc @@ -7264,3 +7264,9 @@ LEX_CSTRING *fk_option_name(enum_fk_option opt) }; return names + opt; } + +bool fk_modifies_child(enum_fk_option opt) +{ + static bool can_write[]= { false, false, true, true, false, true }; + return can_write[opt]; +} |