summaryrefslogtreecommitdiff
path: root/sql/table.h
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2018-07-17 17:12:05 +0200
committerSergei Golubchik <serg@mariadb.org>2018-09-04 09:49:52 +0200
commite81f101dac5c8514c362732a3b9dbc2f896390a6 (patch)
tree9ebe3402faeb80f92c9ace56a20415e20bf5be6c /sql/table.h
parentdd74332d2c5953e861780c1d0de61673406c9653 (diff)
downloadmariadb-git-e81f101dac5c8514c362732a3b9dbc2f896390a6.tar.gz
create a reusable function that tells what FK actions can write
Backport of 794f71cbc41
Diffstat (limited to 'sql/table.h')
-rw-r--r--sql/table.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/table.h b/sql/table.h
index 9ba282b8c49..23f97ed18d0 100644
--- a/sql/table.h
+++ b/sql/table.h
@@ -1447,6 +1447,7 @@ typedef struct st_foreign_key_info
} FOREIGN_KEY_INFO;
LEX_CSTRING *fk_option_name(enum_fk_option opt);
+bool fk_modifies_child(enum_fk_option opt);
#define MY_I_S_MAYBE_NULL 1
#define MY_I_S_UNSIGNED 2