8000 Add optional `OVERRIDE_NEW_DELETE` build parameter by lnkuiper · Pull Request #17035 · duckdb/duckdb · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add optional OVERRIDE_NEW_DELETE build parameter #17035

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

Merged
merged 1 commit into from
Apr 8, 2025

Conversation

lnkuiper
Copy link
Contributor
@lnkuiper lnkuiper commented Apr 8, 2025

When building with jemalloc enabled, this parameter allows you to override the C++ new/delete operators.
This can basically only be used for our CLI build, because when DuckDB is loaded as a dynamic library, we cannot override new/delete, as we risk mixing up different allocators.

Usage: OVERRIDE_NEW_DELETE=1 make.

CC @szarnyasg

@Mytherin Mytherin merged commit 3b24eb3 into duckdb:main Apr 8, 2025
50 checks passed
@Mytherin
Copy link
Collaborator
Mytherin commented Apr 8, 2025

Thanks!

@lnkuiper lnkuiper deleted the override_new_delete branch April 14, 2025 09:10
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 15, 2025
Clean-up virtual columns and make MultiFileReader::InitializeReader virtual (duckdb/duckdb#17038)
Add optional `OVERRIDE_NEW_DELETE` build parameter (duckdb/duckdb#17035)
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 15, 2025
Clean-up virtual columns and make MultiFileReader::InitializeReader virtual (duckdb/duckdb#17038)
Add optional `OVERRIDE_NEW_DELETE` build parameter (duckdb/duckdb#17035)
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 16, 2025
Clean-up virtual columns and make MultiFileReader::InitializeReader virtual (duckdb/duckdb#17038)
Add optional `OVERRIDE_NEW_DELETE` build parameter (duckdb/duckdb#17035)
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 16, 2025
Clean-up virtual columns and make MultiFileReader::InitializeReader virtual (duckdb/duckdb#17038)
Add optional `OVERRIDE_NEW_DELETE` build parameter (duckdb/duckdb#17035)
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 17, 2025
Clean-up virtual columns and make MultiFileReader::InitializeReader virtual (duckdb/duckdb#17038)
Add optional `OVERRIDE_NEW_DELETE` build parameter (duckdb/duckdb#17035)
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.

2 participants
0