diff options
author | Monty <monty@mariadb.org> | 2020-07-03 00:35:28 +0300 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2020-07-03 00:35:28 +0300 |
commit | 5211af1c16063e9c7a62e39ae4acfdc7c9f15e35 (patch) | |
tree | a615a9bf9aaec7dd3f2f510ba2c194d673c65e78 /sql/ha_partition.cc | |
parent | f347b3e0e6592329b1447fa460aca0a4b1f680b1 (diff) | |
parent | b6ec1e8bbf0ffca2d715aded694722e0c4b5d484 (diff) | |
download | mariadb-git-5211af1c16063e9c7a62e39ae4acfdc7c9f15e35.tar.gz |
Merge remote-tracking branch 'origin/10.3' into 10.4
Diffstat (limited to 'sql/ha_partition.cc')
-rw-r--r-- | sql/ha_partition.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_partition.cc b/sql/ha_partition.cc index b9342a327e2..60a249399f2 100644 --- a/sql/ha_partition.cc +++ b/sql/ha_partition.cc @@ -2548,7 +2548,7 @@ register_query_cache_dependant_tables(THD *thd, sub_elem= subpart_it++; part= i * num_subparts + j; /* we store the end \0 as part of the key */ - end= strmov(engine_pos, sub_elem->partition_name); + end= strmov(engine_pos, sub_elem->partition_name) + 1; length= (uint)(end - engine_key); /* Copy the suffix also to query cache key */ memcpy(query_cache_key_end, engine_key_end, (end - engine_key_end)); |