sqlancer / sqlancer/sqlancer

Unexpected Empty Reducer Folder

Open
#890 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.8k
Forks
397
Avg merge
21h 41m
Merged PRs (30d)
3

Description

@oraluben @ColinYoungTaro Great job for your reducer!

I am quite interested in it and have several questions when using it.

java -jar sqlancer-2.0.0.jar --num-threads 20 --use-reducer --reduce-ast --username root --password "" tidb --oracle WHERE

I run this command. Although I observed a crash, but no reduced log file was produced in the reduce folder.
Can you help look into this issue?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported crash with the supplied SQLancer command, including --use-reducer and --reduce-ast, then inspect the reduce folder for output. The issue does not identify a source file or test; done would mean determining why no reduced log is produced and documenting or fixing that behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, sql
Domain
databases, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.