mgo

Slice value of unaddressable array

Bug #1022127 reported by Gustavo Niemeyer
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
mgo
Confirmed
Medium
Gustavo Niemeyer

Bug Description

Doing a query such as:

    collection.Find(bson.M{"foo": bar}).Count()

where bar is defined as:

    var bar [20]byte

Is failing with:

    reflect.Value.Slice: slice of unaddressable array

Changed in mgo:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Gustavo Niemeyer (niemeyer)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.