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

Unified Diff: impl/memory/memcache.go

Issue 1355783002: Refactor keys and queries in datastore service and implementation. (Closed) Base URL: https://github.com/luci/gae.git@master
Patch Set: appease errcheck Created 5 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
« no previous file with comments | « impl/memory/gkvlite_utils.go ('k') | impl/memory/memcache_test.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: impl/memory/memcache.go
diff --git a/impl/memory/memcache.go b/impl/memory/memcache.go
index 3e1c4b8630f8398052cf82c7e1c93151c1bbfaef..415ca1611752be6ea3db600393f2210719b8a5e1 100644
--- a/impl/memory/memcache.go
+++ b/impl/memory/memcache.go
@@ -207,9 +207,8 @@ func (m *memcacheImpl) AddMulti(items []mc.Item, cb mc.RawCB) error {
if !m.data.hasItemLocked(now, itm.Key()) {
m.data.setItemLocked(now, itm)
return nil
- } else {
- return mc.ErrNotStored
}
+ return mc.ErrNotStored
})
return nil
}
« no previous file with comments | « impl/memory/gkvlite_utils.go ('k') | impl/memory/memcache_test.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698