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

Ps 5.7 db 962 #481

Merged
merged 2 commits into from May 5, 2016
Merged

Ps 5.7 db 962 #481

merged 2 commits into from May 5, 2016

Conversation

george-lorch
Copy link
Contributor

No description provided.

George O. Lorch III added 2 commits May 4, 2016 09:53
Issue is in flags that analysis uses when setting up DBT structs to extract keys from PerconaFT.
Code previously used DB_DBT_REALLOC for some unknown reason rather than '0'.
DB_DBT_REALLOC places the burden of managing the memory of the returned keys on the user of PerconaFT,
'0' leaves that burden with PurconaFT and the key/value data is managed and freed by the cursor->close call.
There is no apparant performance difference between the two or any benefit of using one over the other.
- Removed DB_DBT_REALLOC from initial DBT key flags.
- Verified that memory is properly managed on cursor->c_next and cursor->close calls.
Conflicts:
	storage/tokudb/ha_tokudb_admin.cc
@george-lorch
Copy link
Contributor Author

@george-lorch george-lorch merged commit e83dd15 into percona:5.7 May 5, 2016
@george-lorch george-lorch deleted the ps-5.7-DB-962 branch May 5, 2016 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant