Permalink
Browse files

typo

  • Loading branch information...
1 parent a34a145 commit f10315afeed9b983631652f92aea30b2e5fe0306 eaceaser committed Dec 8, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/scala/com/twitter/flockdb/shards/SqlShard.scala
@@ -327,7 +327,7 @@ class SqlShard(private val queryEvaluator: QueryEvaluator, val shardInfo: shards
def intersectEdges(sourceId: Long, states: Seq[State], destinationIds: Seq[Long]) = {
if (destinationIds.size == 0) Nil else {
val (rv, msec) = Stats.duration {
- queryEvaluator.select(SelectIntersection"SELECT * FROM " + tablePrefix + "_edges WHERE source_id = ? AND state IN (?) AND destination_id IN (?) ORDER BY destination_id DESC",
+ queryEvaluator.select(SelectIntersection, "SELECT * FROM " + tablePrefix + "_edges WHERE source_id = ? AND state IN (?) AND destination_id IN (?) ORDER BY destination_id DESC",
List(sourceId, states.map(_.id).toList, destinationIds): _*) { row =>
makeEdge(row)
}

0 comments on commit f10315a

Please sign in to comment.