COCKROACH_ARGS environment variable not working as expected #122441
Labels
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
O-community
Originated from the community
T-dev-inf
Using COCKROACH_ARGS with flags instead of just a single command results in a failure.
This is due to a fault in /cockroach/cockroach.sh.
Error:
Please describe the issue you observed, and any steps we can take to reproduce it:
To Reproduce
Example:
Expected behavior
It should just pass the flags as normal instead of matching it all as a single command, this is due to a fault in the /cockroach/cockroach.sh file.
Additional context
The fix is changing:
To:
Because of the "" it's matching the entire variable as a single command.
Jira issue: CRDB-37892
The text was updated successfully, but these errors were encountered: