From 71702c107ac809c0e620229ef67f8fb6387d25a2 Mon Sep 17 00:00:00 2001 From: Sergey Avseyev Date: Thu, 7 Feb 2013 11:07:36 +0300 Subject: [PATCH] RCBC-118 Alias #total_rows as #total_entries on view result Change-Id: I9b72c2af5663c8e31493b9a8f8c32c6cd4cafafe Reviewed-on: http://review.couchbase.org/24464 Tested-by: Sergey Avseyev Reviewed-by: Sergey Avseyev --- RELEASE_NOTES.markdown | 20 ++++++++++++++------ lib/couchbase/view.rb | 1 + 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/RELEASE_NOTES.markdown b/RELEASE_NOTES.markdown index 61d2bc8b..8ed70a49 100644 --- a/RELEASE_NOTES.markdown +++ b/RELEASE_NOTES.markdown @@ -3,7 +3,18 @@ This document is a list of user visible feature changes and important bugfixes. Do not forget to update this doc in every important patch. -## 1.2.1 (UNRELEASED) +## UNRELEASED + +* [minor] Bucket#design_docs will return a Hash with DesignDoc + instances as a values. + +* [critical] RCBC-104 Data corruption on intensive store operations. + The issue could also lead to segfaults. + +* [major] RCBC-118 Alias #total_rows as #total_entries on view result + set to match documentation. + +## 1.2.1 (2012-12-28) * [major] RCBC-101 Persistence constraints wasn't passed to mutation methods, so they haven't been applied properly. @@ -13,11 +24,8 @@ bugfixes. Do not forget to update this doc in every important patch. in case of multi-set, even if there is only one document is being set. -* [minor] Bucket#design_docs will return a Hash with DesignDoc - instances as a values. - -* [critical] RCBC-104 Data corruption on intensive store operations. - The issue could also lead to segfaults. +* [minor] Improve internal structures of multi-threaded IO plugin to + protect it from memory leaks when the Fiber object is forgotten. ## 1.2.0 (2012-12-12) diff --git a/lib/couchbase/view.rb b/lib/couchbase/view.rb index 6eca5606..6b44f0ba 100644 --- a/lib/couchbase/view.rb +++ b/lib/couchbase/view.rb @@ -63,6 +63,7 @@ class View class ArrayWithTotalRows < Array # :nodoc: attr_accessor :total_rows + alias total_entries total_rows end class AsyncHelper # :nodoc: