couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Kocoloski (JIRA)" <j...@apache.org>
Subject [jira] Closed: (COUCHDB-563) Typo in couch_view_updater.erl
Date Sat, 21 Nov 2009 17:22:39 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Adam Kocoloski closed COUCHDB-563.
----------------------------------

    Resolution: Fixed
      Assignee: Paul Joseph Davis

fixed by davisp in r880951

> Typo in couch_view_updater.erl
> ------------------------------
>
>                 Key: COUCHDB-563
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-563
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>    Affects Versions: 0.11
>            Reporter: Glenn Rempe
>            Assignee: Paul Joseph Davis
>            Priority: Minor
>
> There is a typo on three lines in couch_view_updater.erl where the Var name 'IntitalBuild'
should be 'InitialBuild'
> diff --git a/src/couchdb/couch_view_updater.erl
> b/src/couchdb/couch_view_updater.erl
> index 6f04d93..475f59a 100644
> --- a/src/couchdb/couch_view_updater.erl
> +++ b/src/couchdb/couch_view_updater.erl
> @@ -137,7 +137,7 @@ do_maps(Group, MapQueue, WriteQueue, ViewEmptyKVs) ->
>         do_maps(Group1, MapQueue, WriteQueue, ViewEmptyKVs)
>     end.
> -do_writes(Parent, Owner, Group, WriteQueue, IntitalBuild) ->
> +do_writes(Parent, Owner, Group, WriteQueue, InitialBuild) ->
>     case couch_work_queue:dequeue(WriteQueue) of
>     closed ->
>         Parent ! {new_group, Group};
> @@ -155,12 +155,12 @@ do_writes(Parent, Owner, Group, WriteQueue,
> IntitalBuild) ->
>                         AccViewKVs2, DocIdViewIdKeys ++ AccDocIdViewIdKeys}
>             end, nil, Queue),
>         Group2 = write_changes(Group, ViewKeyValues, DocIdViewIdKeys, NewSeq,
> -                IntitalBuild),
> +                InitialBuild),
>         case Owner of
>         nil -> ok;
>         _ -> ok = gen_server:cast(Owner, {partial_update, Parent, Group2})
>         end,
> -        do_writes(Parent, Owner, Group2, WriteQueue, IntitalBuild)
> +        do_writes(Parent, Owner, Group2, WriteQueue, InitialBuild)
>     end.
>  view_insert_query_results([], [], ViewKVs, DocIdViewIdKeysAcc) ->

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message