Skip to content
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

wirte local data or the row in table #12

Closed
lvyexianzong1983 opened this issue Oct 28, 2017 · 1 comment
Closed

wirte local data or the row in table #12

lvyexianzong1983 opened this issue Oct 28, 2017 · 1 comment

Comments

@lvyexianzong1983
Copy link

in this function : RC ycsb_txn_man::run_txn(base_query * query),
to update the data, the row should be used local row and when commit, then write to the row place?
char * data = row->get_data();
shall be row_local ?

assert(req->rtype == WR);

// for (int fid = 0; fid < schema->get_field_cnt(); fid++) {
int fid = 0;
char * data = row->get_data();
*(uint64_t *)(&data[fid * 10]) = 0;
// }

@yxymit
Copy link
Owner

yxymit commented Oct 29, 2017

Yep. You are right. Thanks for catching this bug. I have made the change to the code and committed.

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

No branches or pull requests

2 participants