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

Fixed stack-use-after-scope error in tests of kvstore #154

Merged
merged 1 commit into from
Feb 20, 2019
Merged

Fixed stack-use-after-scope error in tests of kvstore #154

merged 1 commit into from
Feb 20, 2019

Conversation

dutor
Copy link
Contributor

@dutor dutor commented Feb 19, 2019

A temporary object will be destructed instantly after the involved statement finishes. RocksdbRangeIter holds a reference to such temporary object. I leave it to @dangleptr to deicide whether this behavour is appropriate.

@nebula-community-bot
Copy link
Member

Unit testing passed.

Copy link
Contributor

@dangleptr dangleptr left a comment

Choose a reason for hiding this comment

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

Good catch. LGTM

@dutor dutor merged commit 27a9580 into vesoft-inc:master Feb 20, 2019
@dutor dutor deleted the fix-stack-use-after-scope branch February 20, 2019 02:29
tong-hao pushed a commit to tong-hao/nebula that referenced this pull request Jun 1, 2021
yixinglu pushed a commit to yixinglu/nebula that referenced this pull request Mar 21, 2022
* Move PR from nebula-graph

* Add method to convert AND expr to OR expr

* Fix rewriteLogicalAndToLogicalOr() and clear tests

* Fix tests

Fix compilation

* Forbid using string-related relational expressions as the filter of LOOKUP except STARTS/NOT STARTS WITH

* Address comments

* Add uts for rewriteInExpr() and rewriteLogicalAndToLogicalOr()

* Check foldability of container expr in VidExtractVisitor

Co-authored-by: Aiee <18348405+Aiee@users.noreply.github.com>
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.

3 participants