Skip to content

duckdb: don't copy vtab on function bind#7616

Merged
myrrc merged 1 commit intodevelopfrom
myrrc/duckdb-chore-2
Apr 23, 2026
Merged

duckdb: don't copy vtab on function bind#7616
myrrc merged 1 commit intodevelopfrom
myrrc/duckdb-chore-2

Conversation

@myrrc
Copy link
Copy Markdown
Contributor

@myrrc myrrc commented Apr 23, 2026

Store a reference to function's info in bind data to avoid copying vtab.
Derive bind data from base class and not derived one to save a few bytes.
Replace a few nullptr returns with D_ASSERTs.

@myrrc myrrc force-pushed the myrrc/duckdb-chore-2 branch from b83881f to 6b36816 Compare April 23, 2026 16:15
@myrrc myrrc requested a review from 0ax1 April 23, 2026 16:15
@myrrc myrrc added the changelog/chore A trivial change label Apr 23, 2026
Signed-off-by: Mikhail Kot <to@myrrc.dev>
@myrrc myrrc force-pushed the myrrc/duckdb-chore-2 branch from 6b36816 to cdf012d Compare April 23, 2026 16:16
@myrrc myrrc enabled auto-merge (squash) April 23, 2026 16:23
@myrrc myrrc merged commit 543dbe7 into develop Apr 23, 2026
59 checks passed
@myrrc myrrc deleted the myrrc/duckdb-chore-2 branch April 23, 2026 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/chore A trivial change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants