Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Unified Diff: impl/memory/datastore_query_execution.go

Issue 2342063003: Differentiate between single- and multi- props. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: impl/memory/datastore_query_execution.go
diff --git a/impl/memory/datastore_query_execution.go b/impl/memory/datastore_query_execution.go
index c5d5bf24b9fac8ba4858f36e9c3f59cbabc2be23..15dfbbca736da3f2d02423a2421d1f1f6fa37b9a 100644
--- a/impl/memory/datastore_query_execution.go
+++ b/impl/memory/datastore_query_execution.go
@@ -71,7 +71,7 @@ func (s *projectionStrategy) handle(rawData [][]byte, decodedProps []ds.Property
if s.distinct != nil {
projectedRaw[i] = rawData[p.suffixIndex]
}
- pmap[p.propertyName] = []ds.Property{decodedProps[p.suffixIndex]}
+ pmap[p.propertyName] = decodedProps[p.suffixIndex]
}
if s.distinct != nil {
if !s.distinct.Add(string(serialize.Join(projectedRaw...))) {

Powered by Google App Engine
This is Rietveld 408576698