- if (ptr->hosts[server_key].sockaddr_inited == MEMCACHED_NOT_ALLOCATED ||
- (!(ptr->flags & MEM_USE_CACHE_LOOKUPS)))
+ /* Old connection junk still is in the structure */
+ WATCHPOINT_ASSERT(ptr->cursor_active == 0);
+
+ if (ptr->sockaddr_inited == MEMCACHED_NOT_ALLOCATED ||
+ (!(ptr->root->flags & MEM_USE_CACHE_LOOKUPS)))