Skip to content

Refactor workitems.{h,cc} #230

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 21, 2016
Merged

Refactor workitems.{h,cc} #230

merged 1 commit into from
Dec 21, 2016

Conversation

hazen
Copy link

@hazen hazen commented Nov 23, 2016

No description provided.


leveldb::Status status = m_DbPtr->m_Db->Get(options, key_slice, &value);

if(!status.ok()){
Copy link
Author

Choose a reason for hiding this comment

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

Original code was:

 if(!status.ok())
    return work_result(ATOM_NOT_FOUND);

work_result
IterTask::DoWork()
{
ItrObject * itr_ptr=0;
Copy link
Author

Choose a reason for hiding this comment

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

Originally these were not initialized to zero

@hazen hazen force-pushed the bch-refactor-workitems branch from beed7db to a23a9fb Compare November 23, 2016 03:40
@matthewvon
Copy link
Contributor

+1 for merge once TS 1.5 ships. Especially reviewed two change comments. No concerns.

@hazen hazen merged commit b593a41 into develop Dec 21, 2016
@hazen hazen deleted the bch-refactor-workitems branch December 21, 2016 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants