Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix box_index_count return value description #5021

Open
mandesero opened this issue Mar 26, 2025 · 0 comments
Open

Fix box_index_count return value description #5021

mandesero opened this issue Mar 26, 2025 · 0 comments
Labels
typo [nature] Just a typo. Typically tickets created by online bug reporter.

Comments

@mandesero
Copy link

Info

Root document: https://www.tarantool.io/en/doc/latest/reference/reference_capi/box_index/#c.box_index_count

What's wrong?

The description of the return value is inaccurate:

-: return: 0 on success
+: return: >= 0 otherwise

The function returns the number of matched tuples (which can be any non-negative value), not just 0.

@mandesero mandesero added the typo [nature] Just a typo. Typically tickets created by online bug reporter. label Mar 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
typo [nature] Just a typo. Typically tickets created by online bug reporter.
Projects
None yet
Development

No branches or pull requests

1 participant