diff options
author | Gopal Shankar <gopal.shankar@oracle.com> | 2012-01-30 19:00:04 +0530 |
---|---|---|
committer | Gopal Shankar <gopal.shankar@oracle.com> | 2012-01-30 19:00:04 +0530 |
commit | 45c425f031f1a7ec28653b1991ad79055c252429 (patch) | |
tree | ece8fe569fecaea85d89fddd305cae0b0870a873 /sql/sql_class.cc | |
parent | e08279e5502549ab8d8616db9f6bdb98f3f4aa28 (diff) | |
parent | 04c5e5211e781401a8ac88ba08531b736add4177 (diff) | |
download | mariadb-git-45c425f031f1a7ec28653b1991ad79055c252429.tar.gz |
Merged from mysql-5.1-security
Diffstat (limited to 'sql/sql_class.cc')
-rw-r--r-- | sql/sql_class.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_class.cc b/sql/sql_class.cc index a644729961c..b68726c2920 100644 --- a/sql/sql_class.cc +++ b/sql/sql_class.cc @@ -138,9 +138,9 @@ Key::Key(const Key &rhs, MEM_ROOT *mem_root) */ Foreign_key::Foreign_key(const Foreign_key &rhs, MEM_ROOT *mem_root) - :Key(rhs), + :Key(rhs,mem_root), ref_table(rhs.ref_table), - ref_columns(rhs.ref_columns), + ref_columns(rhs.ref_columns,mem_root), delete_opt(rhs.delete_opt), update_opt(rhs.update_opt), match_opt(rhs.match_opt) |