mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Bug57960 - In ha_innodb.cc, get_foreign_key_info() make sure the
referenced_table name uses the actual length of the table name.
This commit is contained in:
@ -24,7 +24,7 @@ MATCH_OPTION NONE
|
||||
UPDATE_RULE CASCADE
|
||||
DELETE_RULE RESTRICT
|
||||
TABLE_NAME product_order
|
||||
REFERENCED_TABLE_NAME pro
|
||||
REFERENCED_TABLE_NAME product
|
||||
CONSTRAINT_CATALOG def
|
||||
CONSTRAINT_SCHEMA test
|
||||
CONSTRAINT_NAME product_order_ibfk_2
|
||||
@ -35,7 +35,7 @@ MATCH_OPTION NONE
|
||||
UPDATE_RULE RESTRICT
|
||||
DELETE_RULE RESTRICT
|
||||
TABLE_NAME product_order
|
||||
REFERENCED_TABLE_NAME cus
|
||||
REFERENCED_TABLE_NAME customer
|
||||
DROP TABLE product_order;
|
||||
DROP TABLE product;
|
||||
DROP TABLE customer;
|
||||
|
Reference in New Issue
Block a user