From 332c4cfe296dfdf6be550fc7e85547f9cfc4d713 Mon Sep 17 00:00:00 2001 From: Mike Dirolf Date: Mon, 2 Mar 2009 16:03:07 -0500 Subject: [PATCH] create_index fixed in driver --- bin/standard_benchmark | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/standard_benchmark b/bin/standard_benchmark index df68fd9..417e1c1 100755 --- a/bin/standard_benchmark +++ b/bin/standard_benchmark @@ -64,7 +64,7 @@ benchmark('insert (medium, no index)', insert, PER_TRIAL, db, 'medium_none', MED benchmark('insert (large, no index)', insert, PER_TRIAL, db, 'large_none', LARGE) index_on_x = Proc.new { |coll, object| - coll.create_index('foo', 'x') # TODO fix this in the driver!! + coll.create_index('x') } benchmark('insert (small, indexed)', insert, PER_TRIAL, db, 'small_index', SMALL, index_on_x) benchmark('insert (medium, indexed)', insert, PER_TRIAL, db, 'medium_index', MEDIUM, index_on_x)