Skip to content

Commit 4027422

Browse files
committed
fix the explanation of the returned value
1 parent ae2edcd commit 4027422

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

include/groonga/cache.h

+3-2
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,9 @@ grn_cache_current_set(grn_ctx *ctx, grn_cache *cache);
103103
*
104104
* \param ctx The context object.
105105
*
106-
* \return The \ref grn_cache object used in the select command on success,
107-
* `NULL` on error.
106+
* \return The \ref grn_cache object is associated with the database in the
107+
* select command context. If there is no specific cache, it returns
108+
* the current cache which might be NULL.
108109
*/
109110
GRN_API grn_cache *
110111
grn_cache_current_get(grn_ctx *ctx);

0 commit comments

Comments
 (0)