-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix crash double free of expr. (#5557)
* Fix crash double free of expr. * Change issue id.
- Loading branch information
1 parent
483a31a
commit ae43d7d
Showing
2 changed files
with
34 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Copyright (c) 2023 vesoft inc. All rights reserved. | ||
# | ||
# This source code is licensed under Apache 2.0 License. | ||
# #5558 | ||
Feature: Test crash double delete expr | ||
|
||
Background: | ||
Given a graph with space named "nba" | ||
|
||
Scenario: crash double delete expr | ||
When executing query: | ||
""" | ||
match (v.player) return v; | ||
""" | ||
Then a SyntaxError should be raised at runtime: Invalid node pattern near `(v.player)' | ||
When executing query: | ||
""" | ||
match (v.player) return v; | ||
""" | ||
Then a SyntaxError should be raised at runtime: Invalid node pattern near `(v.player)' | ||
When executing query: | ||
""" | ||
match (v.player) return v; | ||
""" | ||
Then a SyntaxError should be raised at runtime: Invalid node pattern near `(v.player)' | ||
When executing query: | ||
""" | ||
return 1; | ||
""" | ||
Then the result should be, in any order: | ||
| 1 | | ||
| 1 | |