Better size reporting

This commit is contained in:
Barak Michener 2015-04-19 16:43:15 -04:00
parent 102b3d7ef5
commit 6201e709ef
3 changed files with 22 additions and 8 deletions

View file

@ -380,7 +380,7 @@ func (qs *QuadStore) Type() string {
return QuadStoreType
}
func (qs *QuadStore) getSize(collection string, constraint *bson.M) (int64, error) {
func (qs *QuadStore) getSize(collection string, constraint bson.M) (int64, error) {
var size int
var err error
bytes, err := bson.Marshal(constraint)