The world's most popular open source database
#include <sql_class.h>
Inheritance diagram for foreign_key:


Public Types | |
| FK_MATCH_UNDEF | |
| FK_MATCH_FULL | |
| FK_MATCH_PARTIAL | |
| FK_MATCH_SIMPLE | |
| FK_OPTION_UNDEF | |
| FK_OPTION_RESTRICT | |
| FK_OPTION_CASCADE | |
| FK_OPTION_SET_NULL | |
| FK_OPTION_NO_ACTION | |
| FK_OPTION_DEFAULT | |
| enum | fk_match_opt { FK_MATCH_UNDEF, FK_MATCH_FULL, FK_MATCH_PARTIAL, FK_MATCH_SIMPLE } |
| enum | fk_option { FK_OPTION_UNDEF, FK_OPTION_RESTRICT, FK_OPTION_CASCADE, FK_OPTION_SET_NULL, FK_OPTION_NO_ACTION, FK_OPTION_DEFAULT } |
Public Member Functions | |
| foreign_key (const char *name_arg, List< key_part_spec > &cols, Table_ident *table, List< key_part_spec > &ref_cols, uint delete_opt_arg, uint update_opt_arg, uint match_opt_arg) | |
Public Attributes | |
| Table_ident * | ref_table |
| List< key_part_spec > | ref_columns |
| uint | delete_opt |
| uint | update_opt |
| uint | match_opt |
Definition at line 135 of file sql_class.h.
Definition at line 137 of file sql_class.h.
00137 { FK_MATCH_UNDEF, FK_MATCH_FULL, 00138 FK_MATCH_PARTIAL, FK_MATCH_SIMPLE};
| FK_OPTION_UNDEF | |
| FK_OPTION_RESTRICT | |
| FK_OPTION_CASCADE | |
| FK_OPTION_SET_NULL | |
| FK_OPTION_NO_ACTION | |
| FK_OPTION_DEFAULT |
Definition at line 139 of file sql_class.h.
00139 { FK_OPTION_UNDEF, FK_OPTION_RESTRICT, FK_OPTION_CASCADE, 00140 FK_OPTION_SET_NULL, FK_OPTION_NO_ACTION, FK_OPTION_DEFAULT};
| foreign_key::foreign_key | ( | const char * | name_arg, | |
| List< key_part_spec > & | cols, | |||
| Table_ident * | table, | |||
| List< key_part_spec > & | ref_cols, | |||
| uint | delete_opt_arg, | |||
| uint | update_opt_arg, | |||
| uint | match_opt_arg | |||
| ) | [inline] |
Definition at line 145 of file sql_class.h.
00148 :Key(FOREIGN_KEY, name_arg, &default_key_create_info, 0, cols), 00149 ref_table(table), ref_columns(cols), 00150 delete_opt(delete_opt_arg), update_opt(update_opt_arg), 00151 match_opt(match_opt_arg) 00152 {}
Definition at line 144 of file sql_class.h.
Definition at line 144 of file sql_class.h.
Definition at line 143 of file sql_class.h.
| Table_ident* foreign_key::ref_table |
Definition at line 142 of file sql_class.h.
Definition at line 144 of file sql_class.h.
1.4.7

