Skip to content

refactor: fix result.c naming to follow HACKING.md conventions#1330

Merged
suketa merged 1 commit intomainfrom
refactor/result-naming
Apr 18, 2026
Merged

refactor: fix result.c naming to follow HACKING.md conventions#1330
suketa merged 1 commit intomainfrom
refactor/result-naming

Conversation

@suketa
Copy link
Copy Markdown
Owner

@suketa suketa commented Apr 18, 2026

Summary

  • Rename public method static functions from duckdb_result_* to result_* (rule 1)
  • Rename private method static functions from duckdb_result__* to result__* (rule 2)
  • Rename extern get_struct_result to rbduckdb_get_struct_result (rule 11)
  • Rename init from rbduckdb_init_duckdb_result to rbduckdb_init_result (rule 10)
  • Update all callers: duckdb.c, column.c, connection.c, prepared_statement.c, pending_result.c

Test plan

  • Compiled successfully with no warnings
  • All 1102 tests pass, 0 failures, 0 errors

🤖 Generated with Claude Code

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 18, 2026

Warning

Rate limit exceeded

@suketa has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 31 minutes and 20 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 31 minutes and 20 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: e4727c3e-68e3-46e5-b493-cbc7b2123800

📥 Commits

Reviewing files that changed from the base of the PR and between 15a14a9 and 79d77e4.

📒 Files selected for processing (7)
  • ext/duckdb/column.c
  • ext/duckdb/connection.c
  • ext/duckdb/duckdb.c
  • ext/duckdb/pending_result.c
  • ext/duckdb/prepared_statement.c
  • ext/duckdb/result.c
  • ext/duckdb/result.h
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch refactor/result-naming

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@suketa suketa merged commit 86aa303 into main Apr 18, 2026
45 checks passed
@suketa suketa deleted the refactor/result-naming branch April 18, 2026 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant