diff options
author | Monty <monty@mariadb.org> | 2015-08-31 12:57:46 +0300 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2015-09-01 18:42:02 +0300 |
commit | 56aa19989f5800df8a398173727558bfb3ea1251 (patch) | |
tree | f87dbcca91d699cbc2539a344d6dabd6b71c2131 /sql/table.cc | |
parent | 8ea9b8c0b168b3e5aad08886477d8726531abcd5 (diff) | |
download | mariadb-git-56aa19989f5800df8a398173727558bfb3ea1251.tar.gz |
MDEV-6152: Remove calls to current_thd while creating Item
Part 5: Removing calls to current_thd in net_read calls, creating fields,
query_cache, acl and some other places where thd was available
Diffstat (limited to 'sql/table.cc')
-rw-r--r-- | sql/table.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/table.cc b/sql/table.cc index 33b74ccb1a5..f233fd19860 100644 --- a/sql/table.cc +++ b/sql/table.cc @@ -1657,7 +1657,7 @@ int TABLE_SHARE::init_from_binary_frm_image(THD *thd, bool write, #endif *field_ptr= reg_field= - make_field(share, record+recpos, + make_field(share, &share->mem_root, record+recpos, (uint32) field_length, null_pos, null_bit_pos, pack_flag, |