Skip to content

Commit

Permalink
Fix compilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
systay committed Jul 31, 2017
1 parent a4abd19 commit c8e9c2c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
package org.neo4j.cypher.internal.compatibility.v3_3.runtime.interpreted.pipes

import org.neo4j.cypher.internal.compatibility.v3_3.runtime.helpers.PrimitiveLongHelper
import org.neo4j.cypher.internal.compatibility.v3_3.runtime.interpreted.PrimitiveExecutionContext
import org.neo4j.cypher.internal.compatibility.v3_3.runtime.pipes._
import org.neo4j.cypher.internal.compatibility.v3_3.runtime.{ExecutionContext, PipelineInformation}
import org.neo4j.cypher.internal.compiler.v3_3.IndexDescriptor
Expand All @@ -41,7 +42,7 @@ case class NodeIndexScanRegisterPipe(ident: String,
protected def internalCreateResults(state: QueryState): Iterator[ExecutionContext] = {
val nodes = state.query.indexScanPrimitive(descriptor)
PrimitiveLongHelper.map(nodes, { node =>
val context = ExecutionContext(pipelineInformation.numberOfLongs)
val context = PrimitiveExecutionContext(pipelineInformation)
state.copyArgumentStateTo(context)
context.setLongAt(offset, node)
context
Expand Down

0 comments on commit c8e9c2c

Please sign in to comment.