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

C++: Relax the dbscheme for link_targets/2 #14897

Merged
merged 2 commits into from
Dec 5, 2023

Conversation

d10c
Copy link
Contributor

@d10c d10c commented Nov 23, 2023

Using the --no-linkage-aware-import flag can lead to DB-CHECK failures due to multiple link_targets/2 entries with the same ID, so removing the unique constraint on the ID is one way to fix it.

This PR will have to be merged with the failing all-platforms/codeql-cli/option-linkage-aware-import/with-flag-disabled integration test, because that test is updated in the corresponding internal PR.

@github-actions github-actions bot added the C++ label Nov 23, 2023
@d10c d10c added the depends on internal PR This PR should only be merged in sync with an internal Semmle PR label Nov 23, 2023
@d10c d10c changed the title Relax the C++ dbscheme for link_targets/2 C++: Relax the dbscheme for link_targets/2 Nov 23, 2023
@d10c d10c force-pushed the d10c/relax-cpp-dbscheme branch 2 times, most recently from b0f65e2 to cdd7cf2 Compare November 30, 2023 13:16
@d10c d10c marked this pull request as ready for review November 30, 2023 15:08
@d10c d10c requested a review from a team as a code owner November 30, 2023 15:08
@d10c d10c force-pushed the d10c/relax-cpp-dbscheme branch from 8002bd1 to ce803ac Compare November 30, 2023 15:14
@jketema
Copy link
Contributor

jketema commented Nov 30, 2023

Since this changes the dbscheme, would you mind running some DCA on this (with db caching off, and the submodule pointer taken from CodeQL). Please also turn on dataset check.

@d10c d10c force-pushed the d10c/relax-cpp-dbscheme branch 2 times, most recently from 9354b84 to e70af14 Compare November 30, 2023 16:35
@d10c d10c force-pushed the d10c/relax-cpp-dbscheme branch from e70af14 to 66c0a4a Compare December 5, 2023 21:03
@d10c d10c merged commit 6d24eb4 into github:main Dec 5, 2023
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C++ depends on internal PR This PR should only be merged in sync with an internal Semmle PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants