MB-12833: Add missing func definition

Change-Id: I67455592aff29d86c6289453f9ea670d078bc068
Reviewed-on: http://review.couchbase.org/43883
Reviewed-by: Bin Cui <bin.cui@gmail.com>
Tested-by: Bin Cui <bin.cui@gmail.com>