Haobo Xu 49fbd5531b [RocksDB] Refactor table.cc to reduce code duplication and improve readability.
Summary: In table.cc, the code section that reads in BlockContent and then put it into a Block, appears at least 4 times. This is too much duplication. BlockReader is much shorter after the change and reads way better. D10077 attempted that for index block read. This is a complete cleanup.

Test Plan: make check; ./db_stress

Reviewers: dhruba, sheki

Reviewed By: dhruba

CC: leveldb

Differential Revision: https://reviews.facebook.net/D10527
2013-04-29 09:43:36 -07:00
..
2011-10-31 17:22:06 +00:00
2011-10-31 17:22:06 +00:00
2013-04-22 16:07:56 -07:00
2013-02-28 18:04:58 -08:00
2012-04-17 08:36:46 -07:00
2013-02-28 18:04:58 -08:00
2013-02-28 18:04:58 -08:00
2013-02-28 18:04:58 -08:00
2011-10-31 17:22:06 +00:00
2013-02-28 18:04:58 -08:00
2013-04-22 16:07:56 -07:00
2013-04-22 16:07:56 -07:00