1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

A fix and a test case for Bug#26104 Bug on foreign key class constructor.

Fix the typo in the constructor. Cover a semantic check that previously
never worked with a test.
This commit is contained in:
kostja@bodhi.(none)
2007-07-18 16:22:05 +04:00
parent 98a45e1a0f
commit 9bac763cc1
5 changed files with 38 additions and 3 deletions

View File

@@ -450,7 +450,7 @@ public:
Table_ident *table, List<key_part_spec> &ref_cols,
uint delete_opt_arg, uint update_opt_arg, uint match_opt_arg)
:Key(FOREIGN_KEY, name_arg, HA_KEY_ALG_UNDEF, 0, cols),
ref_table(table), ref_columns(cols),
ref_table(table), ref_columns(ref_cols),
delete_opt(delete_opt_arg), update_opt(update_opt_arg),
match_opt(match_opt_arg)
{}