Skip to content

Commit

Permalink
Empty update query which isn't executed should reutrn a 0 count inste…
Browse files Browse the repository at this point in the history
…ad of an empty observable
  • Loading branch information
rchodava committed May 6, 2016
1 parent 9a5d7a6 commit 7ed67b1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ public UpdateBuilder update(Outline<?> outline) {
private static class EmptyUpdateSuffixBuilder implements InsertSuffixBuilder {
@Override
public Observable<Integer> count() {
return Observable.empty();
return Observable.just(0);
}

@Override
Expand Down

0 comments on commit 7ed67b1

Please sign in to comment.