Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

querying extras separated to its own module #972

Merged
merged 5 commits into from Apr 21, 2016
Merged

querying extras separated to its own module #972

merged 5 commits into from Apr 21, 2016

Conversation

debris
Copy link
Collaborator

@debris debris commented Apr 18, 2016

I am duplicating the whole logic of querying extras in fatdb, so I made it generic.

@debris debris added the A0-pleasereview 🤓 Pull request needs code review. label Apr 18, 2016
@gavofyork gavofyork added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Apr 19, 2016
}

let mut write_details = self.block_details.write().unwrap();
BatchWriter::new(&batch, &mut write_details)
Copy link
Collaborator

@arkpar arkpar Apr 19, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An object is created just to call a single method. Could it be a simple function instead?
Same for DatabaseReader

@arkpar arkpar added A6-mustntgrumble 💦 Pull request has areas for improvement. The author need not address them before merging. and removed A8-looksgood 🦄 Pull request is reviewed well. labels Apr 19, 2016
@debris debris added A0-pleasereview 🤓 Pull request needs code review. and removed A6-mustntgrumble 💦 Pull request has areas for improvement. The author need not address them before merging. labels Apr 20, 2016
@arkpar arkpar added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Apr 20, 2016
@arkpar arkpar merged commit f2a5630 into master Apr 21, 2016
@gavofyork gavofyork deleted the db_writer branch April 28, 2016 15:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants