diff options
author | Oleksandr Byelkin <sanja@mariadb.com> | 2019-10-30 11:15:05 +0100 |
---|---|---|
committer | Oleksandr Byelkin <sanja@mariadb.com> | 2019-10-30 11:15:05 +0100 |
commit | a3553a1387315f69551793b9baec4d8f91f51fcf (patch) | |
tree | 285920e7a4c2320a2b4a7f7af4cc3f26cfb2b7c0 /storage/tokudb/ha_tokudb.h | |
parent | 24a0d7c5070b53d2495d7ced459cc9a68c43408f (diff) | |
download | mariadb-git-a3553a1387315f69551793b9baec4d8f91f51fcf.tar.gz |
5.6.45-86.1
Diffstat (limited to 'storage/tokudb/ha_tokudb.h')
-rw-r--r-- | storage/tokudb/ha_tokudb.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/tokudb/ha_tokudb.h b/storage/tokudb/ha_tokudb.h index 6257583e754..1d1ea92868d 100644 --- a/storage/tokudb/ha_tokudb.h +++ b/storage/tokudb/ha_tokudb.h @@ -387,7 +387,8 @@ inline void TOKUDB_SHARE::init_cardinality_counts( assert_debug(_mutex.is_owned_by_me()); // can not change number of keys live - assert_always(_rec_per_key == NULL && _rec_per_keys == 0); + assert_always(_rec_per_key == nullptr); + assert_always(_rec_per_keys == 0); _rec_per_keys = rec_per_keys; _rec_per_key = rec_per_key; } |