Based on LevelDB 1.9.0