{"action":"created","comment":{"url":"https://api.github.com/repos/neo4j/neo4j/pulls/comments/37219592","id":37219592,"diff_hunk":"@@ -478,4 +478,14 @@ return distinct center\"\"\")\n \n     assertStats(result, nodesCreated = 1)\n   }\n+\n+  test(\"should be possible to remove nodes created in the same query\") {\n+    val result = execute(\n+      \"\"\"CREATE (a)-[:FOO]->(b)\n+         WITH a, b","path":"community/cypher/cypher/src/test/scala/org/neo4j/cypher/MutatingIntegrationTest.scala","position":8,"original_position":8,"commit_id":"5097015da5e01b415398fccb936b8a35cb1781cf","original_commit_id":"5097015da5e01b415398fccb936b8a35cb1781cf","user":{"login":"lutovich","id":1638145,"avatar_url":"https://avatars.githubusercontent.com/u/1638145?v=3","gravatar_id":"","url":"https://api.github.com/users/lutovich","html_url":"https://github.com/lutovich","followers_url":"https://api.github.com/users/lutovich/followers","following_url":"https://api.github.com/users/lutovich/following{/other_user}","gists_url":"https://api.github.com/users/lutovich/gists{/gist_id}","starred_url":"https://api.github.com/users/lutovich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lutovich/subscriptions","organizations_url":"https://api.github.com/users/lutovich/orgs","repos_url":"https://api.github.com/users/lutovich/repos","events_url":"https://api.github.com/users/lutovich/events{/privacy}","received_events_url":"https://api.github.com/users/lutovich/received_events","type":"User","site_admin":false},"body":"Yes. It does not make any semantic difference but syntax requires `WITH` between `CREATE` and `MATCH`","created_at":"2015-08-17T18:24:49Z","updated_at":"2015-08-17T18:24:49Z","html_url":"https://github.com/neo4j/neo4j/pull/5155#discussion_r37219592","pull_request_url":"https://api.github.com/repos/neo4j/neo4j/pulls/5155","_links":{"self":{"href":"https://api.github.com/repos/neo4j/neo4j/pulls/comments/37219592"},"html":{"href":"https://github.com/neo4j/neo4j/pull/5155#discussion_r37219592"},"pull_request":{"href":"https://api.github.com/repos/neo4j/neo4j/pulls/5155"}}},"pull_request":{"url":"https://api.github.com/repos/neo4j/neo4j/pulls/5155","id":42520646,"html_url":"https://github.com/neo4j/neo4j/pull/5155","diff_url":"https://github.com/neo4j/neo4j/pull/5155.diff","patch_url":"https://github.com/neo4j/neo4j/pull/5155.patch","issue_url":"https://api.github.com/repos/neo4j/neo4j/issues/5155","number":5155,"state":"open","locked":false,"title":"Cleaned up tracking of deleted node/rel ids in tx state","user":{"login":"lutovich","id":1638145,"avatar_url":"https://avatars.githubusercontent.com/u/1638145?v=3","gravatar_id":"","url":"https://api.github.com/users/lutovich","html_url":"https://github.com/lutovich","followers_url":"https://api.github.com/users/lutovich/followers","following_url":"https://api.github.com/users/lutovich/following{/other_user}","gists_url":"https://api.github.com/users/lutovich/gists{/gist_id}","starred_url":"https://api.github.com/users/lutovich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lutovich/subscriptions","organizations_url":"https://api.github.com/users/lutovich/orgs","repos_url":"https://api.github.com/users/lutovich/repos","events_url":"https://api.github.com/users/lutovich/events{/privacy}","received_events_url":"https://api.github.com/users/lutovich/received_events","type":"User","site_admin":false},"body":"This is a minor clean up commit that:\r\n - removes not relevant comments\r\n - changes sets of ids to primitive sets\r\n - adds couple tests","created_at":"2015-08-15T15:13:36Z","updated_at":"2015-08-17T18:24:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d1500c2a7499a8f956fa6c46e067798a4be1ada2","assignee":{"login":"MishaDemianenko","id":12656787,"avatar_url":"https://avatars.githubusercontent.com/u/12656787?v=3","gravatar_id":"","url":"https://api.github.com/users/MishaDemianenko","html_url":"https://github.com/MishaDemianenko","followers_url":"https://api.github.com/users/MishaDemianenko/followers","following_url":"https://api.github.com/users/MishaDemianenko/following{/other_user}","gists_url":"https://api.github.com/users/MishaDemianenko/gists{/gist_id}","starred_url":"https://api.github.com/users/MishaDemianenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MishaDemianenko/subscriptions","organizations_url":"https://api.github.com/users/MishaDemianenko/orgs","repos_url":"https://api.github.com/users/MishaDemianenko/repos","events_url":"https://api.github.com/users/MishaDemianenko/events{/privacy}","received_events_url":"https://api.github.com/users/MishaDemianenko/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/neo4j/neo4j/pulls/5155/commits","review_comments_url":"https://api.github.com/repos/neo4j/neo4j/pulls/5155/comments","review_comment_url":"https://api.github.com/repos/neo4j/neo4j/pulls/comments{/number}","comments_url":"https://api.github.com/repos/neo4j/neo4j/issues/5155/comments","statuses_url":"https://api.github.com/repos/neo4j/neo4j/statuses/5097015da5e01b415398fccb936b8a35cb1781cf","head":{"label":"lutovich:2.3-track-deletions-in-tx-state","ref":"2.3-track-deletions-in-tx-state","sha":"5097015da5e01b415398fccb936b8a35cb1781cf","user":{"login":"lutovich","id":1638145,"avatar_url":"https://avatars.githubusercontent.com/u/1638145?v=3","gravatar_id":"","url":"https://api.github.com/users/lutovich","html_url":"https://github.com/lutovich","followers_url":"https://api.github.com/users/lutovich/followers","following_url":"https://api.github.com/users/lutovich/following{/other_user}","gists_url":"https://api.github.com/users/lutovich/gists{/gist_id}","starred_url":"https://api.github.com/users/lutovich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lutovich/subscriptions","organizations_url":"https://api.github.com/users/lutovich/orgs","repos_url":"https://api.github.com/users/lutovich/repos","events_url":"https://api.github.com/users/lutovich/events{/privacy}","received_events_url":"https://api.github.com/users/lutovich/received_events","type":"User","site_admin":false},"repo":{"id":21854315,"name":"neo4j","full_name":"lutovich/neo4j","owner":{"login":"lutovich","id":1638145,"avatar_url":"https://avatars.githubusercontent.com/u/1638145?v=3","gravatar_id":"","url":"https://api.github.com/users/lutovich","html_url":"https://github.com/lutovich","followers_url":"https://api.github.com/users/lutovich/followers","following_url":"https://api.github.com/users/lutovich/following{/other_user}","gists_url":"https://api.github.com/users/lutovich/gists{/gist_id}","starred_url":"https://api.github.com/users/lutovich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lutovich/subscriptions","organizations_url":"https://api.github.com/users/lutovich/orgs","repos_url":"https://api.github.com/users/lutovich/repos","events_url":"https://api.github.com/users/lutovich/events{/privacy}","received_events_url":"https://api.github.com/users/lutovich/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lutovich/neo4j","description":"Graphs for Everyone","fork":true,"url":"https://api.github.com/repos/lutovich/neo4j","forks_url":"https://api.github.com/repos/lutovich/neo4j/forks","keys_url":"https://api.github.com/repos/lutovich/neo4j/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lutovich/neo4j/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lutovich/neo4j/teams","hooks_url":"https://api.github.com/repos/lutovich/neo4j/hooks","issue_events_url":"https://api.github.com/repos/lutovich/neo4j/issues/events{/number}","events_url":"https://api.github.com/repos/lutovich/neo4j/events","assignees_url":"https://api.github.com/repos/lutovich/neo4j/assignees{/user}","branches_url":"https://api.github.com/repos/lutovich/neo4j/branches{/branch}","tags_url":"https://api.github.com/repos/lutovich/neo4j/tags","blobs_url":"https://api.github.com/repos/lutovich/neo4j/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lutovich/neo4j/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lutovich/neo4j/git/refs{/sha}","trees_url":"https://api.github.com/repos/lutovich/neo4j/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lutovich/neo4j/statuses/{sha}","languages_url":"https://api.github.com/repos/lutovich/neo4j/languages","stargazers_url":"https://api.github.com/repos/lutovich/neo4j/stargazers","contributors_url":"https://api.github.com/repos/lutovich/neo4j/contributors","subscribers_url":"https://api.github.com/repos/lutovich/neo4j/subscribers","subscription_url":"https://api.github.com/repos/lutovich/neo4j/subscription","commits_url":"https://api.github.com/repos/lutovich/neo4j/commits{/sha}","git_commits_url":"https://api.github.com/repos/lutovich/neo4j/git/commits{/sha}","comments_url":"https://api.github.com/repos/lutovich/neo4j/comments{/number}","issue_comment_url":"https://api.github.com/repos/lutovich/neo4j/issues/comments{/number}","contents_url":"https://api.github.com/repos/lutovich/neo4j/contents/{+path}","compare_url":"https://api.github.com/repos/lutovich/neo4j/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lutovich/neo4j/merges","archive_url":"https://api.github.com/repos/lutovich/neo4j/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lutovich/neo4j/downloads","issues_url":"https://api.github.com/repos/lutovich/neo4j/issues{/number}","pulls_url":"https://api.github.com/repos/lutovich/neo4j/pulls{/number}","milestones_url":"https://api.github.com/repos/lutovich/neo4j/milestones{/number}","notifications_url":"https://api.github.com/repos/lutovich/neo4j/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lutovich/neo4j/labels{/name}","releases_url":"https://api.github.com/repos/lutovich/neo4j/releases{/id}","created_at":"2014-07-15T09:38:04Z","updated_at":"2015-02-24T16:59:41Z","pushed_at":"2015-08-17T12:45:15Z","git_url":"git://github.com/lutovich/neo4j.git","ssh_url":"git@github.com:lutovich/neo4j.git","clone_url":"https://github.com/lutovich/neo4j.git","svn_url":"https://github.com/lutovich/neo4j","homepage":"http://neo4j.org","size":204844,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"neo4j:2.3","ref":"2.3","sha":"8efb9c4981ffc8213ef90699d4036cfee60793b1","user":{"login":"neo4j","id":201120,"avatar_url":"https://avatars.githubusercontent.com/u/201120?v=3","gravatar_id":"","url":"https://api.github.com/users/neo4j","html_url":"https://github.com/neo4j","followers_url":"https://api.github.com/users/neo4j/followers","following_url":"https://api.github.com/users/neo4j/following{/other_user}","gists_url":"https://api.github.com/users/neo4j/gists{/gist_id}","starred_url":"https://api.github.com/users/neo4j/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neo4j/subscriptions","organizations_url":"https://api.github.com/users/neo4j/orgs","repos_url":"https://api.github.com/users/neo4j/repos","events_url":"https://api.github.com/users/neo4j/events{/privacy}","received_events_url":"https://api.github.com/users/neo4j/received_events","type":"Organization","site_admin":false},"repo":{"id":6650539,"name":"neo4j","full_name":"neo4j/neo4j","owner":{"login":"neo4j","id":201120,"avatar_url":"https://avatars.githubusercontent.com/u/201120?v=3","gravatar_id":"","url":"https://api.github.com/users/neo4j","html_url":"https://github.com/neo4j","followers_url":"https://api.github.com/users/neo4j/followers","following_url":"https://api.github.com/users/neo4j/following{/other_user}","gists_url":"https://api.github.com/users/neo4j/gists{/gist_id}","starred_url":"https://api.github.com/users/neo4j/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neo4j/subscriptions","organizations_url":"https://api.github.com/users/neo4j/orgs","repos_url":"https://api.github.com/users/neo4j/repos","events_url":"https://api.github.com/users/neo4j/events{/privacy}","received_events_url":"https://api.github.com/users/neo4j/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/neo4j/neo4j","description":"Graphs for Everyone","fork":false,"url":"https://api.github.com/repos/neo4j/neo4j","forks_url":"https://api.github.com/repos/neo4j/neo4j/forks","keys_url":"https://api.github.com/repos/neo4j/neo4j/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neo4j/neo4j/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neo4j/neo4j/teams","hooks_url":"https://api.github.com/repos/neo4j/neo4j/hooks","issue_events_url":"https://api.github.com/repos/neo4j/neo4j/issues/events{/number}","events_url":"https://api.github.com/repos/neo4j/neo4j/events","assignees_url":"https://api.github.com/repos/neo4j/neo4j/assignees{/user}","branches_url":"https://api.github.com/repos/neo4j/neo4j/branches{/branch}","tags_url":"https://api.github.com/repos/neo4j/neo4j/tags","blobs_url":"https://api.github.com/repos/neo4j/neo4j/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neo4j/neo4j/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neo4j/neo4j/git/refs{/sha}","trees_url":"https://api.github.com/repos/neo4j/neo4j/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neo4j/neo4j/statuses/{sha}","languages_url":"https://api.github.com/repos/neo4j/neo4j/languages","stargazers_url":"https://api.github.com/repos/neo4j/neo4j/stargazers","contributors_url":"https://api.github.com/repos/neo4j/neo4j/contributors","subscribers_url":"https://api.github.com/repos/neo4j/neo4j/subscribers","subscription_url":"https://api.github.com/repos/neo4j/neo4j/subscription","commits_url":"https://api.github.com/repos/neo4j/neo4j/commits{/sha}","git_commits_url":"https://api.github.com/repos/neo4j/neo4j/git/commits{/sha}","comments_url":"https://api.github.com/repos/neo4j/neo4j/comments{/number}","issue_comment_url":"https://api.github.com/repos/neo4j/neo4j/issues/comments{/number}","contents_url":"https://api.github.com/repos/neo4j/neo4j/contents/{+path}","compare_url":"https://api.github.com/repos/neo4j/neo4j/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neo4j/neo4j/merges","archive_url":"https://api.github.com/repos/neo4j/neo4j/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neo4j/neo4j/downloads","issues_url":"https://api.github.com/repos/neo4j/neo4j/issues{/number}","pulls_url":"https://api.github.com/repos/neo4j/neo4j/pulls{/number}","milestones_url":"https://api.github.com/repos/neo4j/neo4j/milestones{/number}","notifications_url":"https://api.github.com/repos/neo4j/neo4j/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neo4j/neo4j/labels{/name}","releases_url":"https://api.github.com/repos/neo4j/neo4j/releases{/id}","created_at":"2012-11-12T08:46:15Z","updated_at":"2015-08-17T10:47:43Z","pushed_at":"2015-08-17T15:35:06Z","git_url":"git://github.com/neo4j/neo4j.git","ssh_url":"git@github.com:neo4j/neo4j.git","clone_url":"https://github.com/neo4j/neo4j.git","svn_url":"https://github.com/neo4j/neo4j","homepage":"http://neo4j.com","size":481425,"stargazers_count":1881,"watchers_count":1881,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":729,"mirror_url":null,"open_issues_count":468,"forks":729,"open_issues":468,"watchers":1881,"default_branch":"2.3"}},"_links":{"self":{"href":"https://api.github.com/repos/neo4j/neo4j/pulls/5155"},"html":{"href":"https://github.com/neo4j/neo4j/pull/5155"},"issue":{"href":"https://api.github.com/repos/neo4j/neo4j/issues/5155"},"comments":{"href":"https://api.github.com/repos/neo4j/neo4j/issues/5155/comments"},"review_comments":{"href":"https://api.github.com/repos/neo4j/neo4j/pulls/5155/comments"},"review_comment":{"href":"https://api.github.com/repos/neo4j/neo4j/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/neo4j/neo4j/pulls/5155/commits"},"statuses":{"href":"https://api.github.com/repos/neo4j/neo4j/statuses/5097015da5e01b415398fccb936b8a35cb1781cf"}}}}