diff options
author | Oleg Smirnov <olernov@gmail.com> | 2023-01-21 21:01:35 +0700 |
---|---|---|
committer | Oleg Smirnov <olernov@gmail.com> | 2023-01-30 18:40:53 +0700 |
commit | 855c95e2b5742788f3252ddc1c0ebea60c53252a (patch) | |
tree | 4180c509b53692ba23076f81d510e266e88808e0 /sql/sql_insert.cc | |
parent | 0f695b77a1b13d518b197e0b95f00c86d53401d9 (diff) | |
download | mariadb-git-bb-10.5-MDEV-29693.tar.gz |
MDEV-29693 Fix review commentsbb-10.5-MDEV-29693
Part2. Get rid of virtual functions in Shared_ptr
Diffstat (limited to 'sql/sql_insert.cc')
-rw-r--r-- | sql/sql_insert.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_insert.cc b/sql/sql_insert.cc index 78102adfb98..62b461bd599 100644 --- a/sql/sql_insert.cc +++ b/sql/sql_insert.cc @@ -2806,7 +2806,7 @@ TABLE *Delayed_insert::get_local_table(THD* client_thd) Make a copy of the table statistics shared pointer to increase the count of references and thus lock the statistics */ - copy->stats_cb= new Shared_ptr<TABLE_STATISTICS_CB>(*table->stats_cb); + copy->stats_cb= table->stats_cb; } DBUG_RETURN(copy); |