From 2c417bb6ab4eb938bd09c9a555677c1dceb8d330 Mon Sep 17 00:00:00 2001 From: Kyle Banker Date: Tue, 15 Dec 2009 16:30:03 -0500 Subject: [PATCH] minor: benchmark fix --- bin/gridstore_benchmark | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/gridstore_benchmark b/bin/gridstore_benchmark index 8066352..db424a1 100755 --- a/bin/gridstore_benchmark +++ b/bin/gridstore_benchmark @@ -9,6 +9,7 @@ include GridFS db = Connection.new['benchmark-gridfs'] sample_data = File.open(File.join(File.dirname(__FILE__), 'sample_file.pdf'), 'r').read +GridStore.delete(db, 'mongodb.pdf') length = sample_data.length mb = length / 1048576.0