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 /storage/tokudb/ha_tokudb.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 'storage/tokudb/ha_tokudb.cc')
-rw-r--r-- | storage/tokudb/ha_tokudb.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/storage/tokudb/ha_tokudb.cc b/storage/tokudb/ha_tokudb.cc index b8b4d86ce1c..3734233552d 100644 --- a/storage/tokudb/ha_tokudb.cc +++ b/storage/tokudb/ha_tokudb.cc @@ -6123,6 +6123,11 @@ void ha_tokudb::position(const uchar * record) { // memcpy(ref, &key.size, sizeof(uint32_t)); } + /* + tokudb doesn't always write the last byte. Don't that cause problems with + MariaDB + */ + MEM_MAKE_DEFINED(ref, ref_length); TOKUDB_HANDLER_DBUG_VOID_RETURN; } |