memory buf code
Merge pull request #2 from databasesystem/lz_branch

memory buf code