summaryrefslogtreecommitdiff
path: root/sql/table.h
diff options
context:
space:
mode:
authorgluh@mysql.com/eagle.(none) <>2007-01-15 13:39:28 +0400
committergluh@mysql.com/eagle.(none) <>2007-01-15 13:39:28 +0400
commita5a43da10eb3acce08804b649e5ec4e7fc18ee10 (patch)
tree9a531d946fbaf047b799ec873178300ecebaa0a6 /sql/table.h
parent9a97420c54e5ff30ef953d0da14a88d0e5fa13e1 (diff)
downloadmariadb-git-a5a43da10eb3acce08804b649e5ec4e7fc18ee10.tar.gz
Bug#21713 incorrect value for the REFERENTIAL_CONSTRAINTS.UNIQUE_CONSTRAINT_NAME column
added new field 'REFERENCED_TABLE_NAME' to 'referential_constraints' table field 'UNIQUE_CONSTRAINT_NAME' contains the name of the referenced index
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 80add0e0b91..82083d79570 100644
--- a/sql/table.h
+++ b/sql/table.h
@@ -460,6 +460,7 @@ typedef struct st_foreign_key_info
LEX_STRING *referenced_table;
LEX_STRING *update_method;
LEX_STRING *delete_method;
+ LEX_STRING *referenced_key_name;
List<LEX_STRING> foreign_fields;
List<LEX_STRING> referenced_fields;
} FOREIGN_KEY_INFO;