summaryrefslogtreecommitdiff
path: root/sql/field.cc
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2023-05-05 14:01:40 +0200
committerOleksandr Byelkin <sanja@mariadb.com>2023-05-05 14:01:40 +0200
commit34762401297a98114cac7c02f664f52ccf20f809 (patch)
treeb0ffcede5b6dced35859ed9dda3e4dd20732618e /sql/field.cc
parent2871a05ccdc846ffe7ff58fd86264d10606621c7 (diff)
parent2668d596d1b4da99206146e4a2a25fc2d5dabeff (diff)
downloadmariadb-git-bb-10.9-release.tar.gz
Merge branch '10.8' into 10.9mariadb-10.9.6bb-10.9-release
Diffstat (limited to 'sql/field.cc')
-rw-r--r--sql/field.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/field.cc b/sql/field.cc
index e7719264ffd..f59a9e27a1c 100644
--- a/sql/field.cc
+++ b/sql/field.cc
@@ -2557,6 +2557,7 @@ Field *Field::make_new_field(MEM_ROOT *root, TABLE *new_table,
tmp->key_start.init(0);
tmp->part_of_key.init(0);
tmp->part_of_sortkey.init(0);
+ tmp->read_stats= NULL;
/*
TODO: it is not clear why this method needs to reset unireg_check.
Try not to reset it, or explain why it needs to be reset.