Skip to content

Support cockroachdb#19

Merged
suyZhong merged 4 commits intomainfrom
support_Cockroachdb
Aug 11, 2025
Merged

Support cockroachdb#19
suyZhong merged 4 commits intomainfrom
support_Cockroachdb

Conversation

@CelestaLiu
Copy link
Copy Markdown
Collaborator

As CockroachDB removed certain cluster settings (e.g. sql.metrics.statement_details.plan_collection.enabled) that are still referenced in SQLancer,
the newest commit modifies the SQLancer Dockerfile to remove those references, allowing the build to succeed with the latest CockroachDB.

@CelestaLiu CelestaLiu requested a review from suyZhong August 11, 2025 03:59

RUN git clone https://github.com/sqlancer/sqlancer.git . && \
mvn clean package -DskipTests
git checkout "${SQLANCER_REF}" && \
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's somewhat not quite elegant. Perhaps we can remove the scripts below and use an old version of cockroach for now; meanwhile, we can raise an issue in SQLancer.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reverted the commit to the original version.

@@ -1,15 +1,47 @@
# FROM ubuntu:20.04
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps we can remove these comments?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reverted the commit to the original version.

],
"username": "root",
"password": "",
"oracle": "CERT",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we'll use TLP or NoREC as default?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed it to NoREC.

@suyZhong suyZhong merged commit 411da5b into main Aug 11, 2025
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