Skip to content

Commit

Permalink
Run cluster valgrind with non-default db
Browse files Browse the repository at this point in the history
Signed-off-by: Morgan Douglas <[email protected]>
  • Loading branch information
morgando committed May 3, 2024
1 parent c28abbc commit c847945
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/dev-util/cluster
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ function gdb {
function vg {
tmux_int
sync_panes
tmux send-keys "valgrind comdb2 ${defaultdb}" Enter
tmux send-keys "valgrind comdb2 $1" Enter
}

function check-containers-ready {
Expand Down Expand Up @@ -602,7 +602,7 @@ elif [[ "$1" == "cfg" ]]; then
elif [[ "$1" == "gdb" ]]; then
gdb ${2:-${defaultdb}}
elif [[ "$1" == "vg" ]]; then
vg
vg ${2:-${defaultdb}}
elif [[ "$1" == "info" ]]; then
sqlite3 -separator ' ' ${config} "select * from getput"
elif [[ "$1" == "init" ]]; then
Expand Down

0 comments on commit c847945

Please sign in to comment.