Skip to content

Conversation

grooverdan
Copy link

Found during static analysis:

cppcheck --force -DDBUG_VOID_RETURN=return -"DDBUG_RETURN(a)=return a" sql/sp.cc
[sql/sp.cc:2282]: (error) Memory leak: creation_ctx

Also exists in 5.6 and 5.7

…ng fails

cppcheck --force -DDBUG_VOID_RETURN=return  -"DDBUG_RETURN(a)=return a" sql/sp.cc
[sql/sp.cc:2282]: (error) Memory leak: creation_ctx
@mysql-oca-bot
Copy link

Hi, thank you for your contribution. Please confirm this code is submitted under the terms of the OCA (Oracle's Contribution Agreement) you have previously signed by cutting and pasting the following text as a comment:
"I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it."
Thanks

@grooverdan
Copy link
Author

I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

@mysql-oca-bot
Copy link

Hi, thank you for your contribution. Your code has been assigned to an internal queue. Please follow
bug http://bugs.mysql.com/bug.php?id=80058 for updates.
Thanks

@grooverdan grooverdan changed the title Free creation_ctx in sp_load_for_information_schema where create_string fails Bug #80058: Free creation_ctx in sp_load_for_information_schema where create_string fails Jan 20, 2016
gunnarku pushed a commit to facebook/mysql-8.0 that referenced this pull request Jul 21, 2017
…in reverse CF

Summary:
Make ha_rocksdb::index_read_map() correctly handle
find_flag=HA_READ_BEFORE_KEY.
Explanation how it should be handled is provided in
storage/rocksdb/rocksdb-range-access.txt

Test Plan: mtr t/rocksdb_range.test, used gcov to check the new code is covered

Reviewers: maykov, hermanlee4, jtolmer, yoshinorim

Differential Revision: https://reviews.facebook.net/D35331
gunnarku pushed a commit to facebook/mysql-8.0 that referenced this pull request Jul 25, 2017
…in reverse CF

Summary:
Make ha_rocksdb::index_read_map() correctly handle
find_flag=HA_READ_BEFORE_KEY.
Explanation how it should be handled is provided in
storage/rocksdb/rocksdb-range-access.txt

Test Plan: mtr t/rocksdb_range.test, used gcov to check the new code is covered

Reviewers: maykov, hermanlee4, jtolmer, yoshinorim

Differential Revision: https://reviews.facebook.net/D35331
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