Remove db.warmup().

This commit is contained in:
Gea-Suan Lin
2023-04-07 05:52:16 +08:00
parent dc30b3bbda
commit abc4f910d1
2 changed files with 0 additions and 8 deletions

View File

@@ -37,10 +37,6 @@ else
alias "t=telnet"
fi
#
function db.warmup() {
pt-find --charset=utf8 --print -h $1 | xargs -t -P8 -I% -n1 sh -c "echo 'SELECT COUNT(*) FROM %;' | mysql -h $1 > /dev/null"
}
#
if [[ -x /usr/bin/nvim || -x /usr/local/bin/nvim ]]; then
alias vim="nvim"
export EDITOR="nvim"