]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
Fix a backward compatibility problem with table_properties being nullptr
authorZhongyi Xie <xiez@fb.com>
Tue, 22 May 2018 20:51:21 +0000 (13:51 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 22 May 2018 20:57:17 +0000 (13:57 -0700)
commit6c73a4669353e57ad4b2b16cc6a9a8eb9d27a819
tree0aade36d8783a4c631a0bb5a9a101fbc6b3e7276
parent4420cb49da5d291c5a438ead6daebbf26b6f32b9
Fix a backward compatibility problem with table_properties being nullptr

Summary:
Currently when ldb built from master tries to open a DB from version 2.2, there will be a segfault because table_properties didn't exist back then.
Closes https://github.com/facebook/rocksdb/pull/3890

Differential Revision: D8100914

Pulled By: miasantreble

fbshipit-source-id: b255e8aedc54695432be2e704839c857dabdd65a
table/block_based_table_reader.cc