[
https://issues.apache.org/jira/browse/COUCHDB-920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921294#action_12921294
]
Andrey Somov commented on COUCHDB-920:
--------------------------------------
Since the only value of the patch is to increase code readability it can
certainly wait. (or even be dropped)
I have definitely spent more brain cycles trying to understand the redundant
code. But the clean up may change the situation considerably.
> BTree: modify_node() and complete_root() functions do not make a new btree
> record
> ---------------------------------------------------------------------------------
>
> Key: COUCHDB-920
> URL: https://issues.apache.org/jira/browse/COUCHDB-920
> Project: CouchDB
> Issue Type: Improvement
> Components: Database Core
> Affects Versions: 1.0.1
> Reporter: Andrey Somov
> Priority: Minor
> Attachments: btree_issue920.patch
>
>
> BTree: modify_node() and complete_root() functions do not make a new btree
> record. But nevertheless they return a btree as if it is different. The patch
> simplifies the code and makes it clear that only query_modify() function
> makes a new btree record.
> tests are OK.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.