-
Notifications
You must be signed in to change notification settings - Fork 494
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NOID] Fixes #3798: apoc.cypher.runFile() - Unexpected behaviour with…
… commented ; (#3993) (#4033) * [NOID] Fixes #3798: apoc.cypher.runFile() - Unexpected behaviour with commented ; (#3993) * Fixes #3798: apoc.cypher.runFile() - Unexpected behaviour with commented ; * removed unused imports * [NOID] java 11 changes
- Loading branch information
Showing
4 changed files
with
73 additions
and
3 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
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,16 @@ | ||
RETURN "Step 1"; | ||
; | ||
// RETURN "Step 2" as row; | ||
RETURN "Step 3" AS row; | ||
// RETURN "Step 4" as row; | ||
|
||
// RETURN "Step 5" as row; | ||
|
||
RETURN 6 as row; | ||
// RETURN "Step 5" as row; // RETURN "Step 5" as row; | ||
/*comment*/RETURN 7 /* comment*/ AS row; | ||
|
||
/*comment*/RETURN '8'/*comment*/; | ||
/*comment*/RETURN 9/*comment*/; | ||
; | ||
/*comment*/RETURN 10/*comment*/ |
13 changes: 13 additions & 0 deletions
13
full/src/test/resources/schemaWithCommentsAndEmptyRows.cypher
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,13 @@ | ||
CREATE FULLTEXT INDEX CustomerIndex1 FOR (n:Customer1) ON EACH [n.name1]; | ||
; | ||
// RETURN "Step 2" as row; | ||
CREATE FULLTEXT INDEX CustomerIndex21 FOR (n:Customer21) ON EACH [n.name12]; | ||
// RETURN "Step 4" as row; | ||
|
||
// RETURN "Step 5" as row; | ||
|
||
// RETURN "Step 5" as row; // RETURN "Step 5" as row; | ||
/*comment*/ CREATE FULLTEXT INDEX CustomerIndex231 FOR (n:Customer213) /* comment*/ ON EACH [n.name123]; | ||
; | ||
/*comment*/RETURN '8'/*comment*/; | ||
/*comment*/CREATE INDEX node_index_name FOR (n:Person) ON (n.surname);/*comment*/ |