Updated msys2 to msys2-base-x86_64-20200903

This commit is contained in:
Gator96100 2020-09-07 18:14:14 +02:00
commit 2307d54cb1
18501 changed files with 1684082 additions and 720361 deletions

View file

@ -11,80 +11,79 @@ _sysbench()
return
;;
--init-rng|--debug|--validate)
COMPREPLY=( $( compgen -W 'on off' -- "$cur" ) )
COMPREPLY=( $(compgen -W 'on off' -- "$cur") )
return
;;
--test)
COMPREPLY=( $( compgen -W 'fileio cpu memory threads mutex oltp' \
-- "$cur" ) )
COMPREPLY=( $(compgen -W 'fileio cpu memory threads mutex oltp' \
-- "$cur") )
return
;;
--cpu-max-prime)
return
;;
--file-test-mode)
COMPREPLY=( $( compgen -W 'seqwr seqrewr seqrd rndrd rndwr rndrw' \
-- "$cur" ) )
COMPREPLY=( $(compgen -W 'seqwr seqrewr seqrd rndrd rndwr rndrw' \
-- "$cur") )
return
;;
--file-io-mode)
COMPREPLY=( $( compgen -W 'sync async fastmmap slowmmap' \
-- "$cur" ) )
COMPREPLY=( $(compgen -W 'sync async fastmmap slowmmap' -- "$cur") )
return
;;
--file-extra-flags)
COMPREPLY=( $( compgen -W 'sync dsync direct' -- "$cur" ) )
COMPREPLY=( $(compgen -W 'sync dsync direct' -- "$cur") )
return
;;
--file-fsync-all|--file-fsync-end)
COMPREPLY=( $( compgen -W 'on off' -- "$cur" ) )
COMPREPLY=( $(compgen -W 'on off' -- "$cur") )
return
;;
--file-fsync-mode)
COMPREPLY=( $( compgen -W 'fsync fdatasync' -- "$cur" ) )
COMPREPLY=( $(compgen -W 'fsync fdatasync' -- "$cur") )
return
;;
--memory-scope)
COMPREPLY=( $( compgen -W 'global local' -- "$cur" ) )
COMPREPLY=( $(compgen -W 'global local' -- "$cur") )
return
;;
--memory-hugetlb)
COMPREPLY=( $( compgen -W 'on off' -- "$cur" ) )
COMPREPLY=( $(compgen -W 'on off' -- "$cur") )
return
;;
--memory-oper)
COMPREPLY=( $( compgen -W 'read write none' -- "$cur" ) )
COMPREPLY=( $(compgen -W 'read write none' -- "$cur") )
return
;;
--memory-access-mode)
COMPREPLY=( $( compgen -W 'seq rnd' -- "$cur" ) )
COMPREPLY=( $(compgen -W 'seq rnd' -- "$cur") )
return
;;
--oltp-test-mode)
COMPREPLY=( $( compgen -W 'simple complex nontrx sp' -- "$cur" ) )
COMPREPLY=( $(compgen -W 'simple complex nontrx sp' -- "$cur") )
return
;;
--oltp-read-only|--oltp-skip-trx|--oltp-quto-inc|--mysql-ssl)
COMPREPLY=( $( compgen -W 'on off' -- "$cur" ) )
COMPREPLY=( $(compgen -W 'on off' -- "$cur") )
return
;;
--oltp-nontrx-mode)
COMPREPLY=( $( compgen -W 'select update_key update_nokey insert
delete' -- "$cur" ) )
COMPREPLY=( $(compgen -W 'select update_key update_nokey insert
delete' -- "$cur") )
return
;;
--oltp-dist-type)
COMPREPLY=( $( compgen -W 'uniform gaussian special' -- "$cur" ) )
COMPREPLY=( $(compgen -W 'uniform gaussian special' -- "$cur") )
return
;;
--db-driver)
COMPREPLY=( $( compgen -W "$( $1 --test=oltp help 2>/dev/null |
COMPREPLY=( $(compgen -W "$($1 --test=oltp help 2>/dev/null |
command sed -e '/^.*database drivers:/,/^$/!d' \
-ne 's/^ *\([^ ]*\) .*/\1/p' )" -- "$cur" ) )
-ne 's/^ *\([^ ]*\) .*/\1/p')" -- "$cur") )
return
;;
--db-ps-mode)
COMPREPLY=( $( compgen -W 'auto disable' -- "$cur" ) )
COMPREPLY=( $(compgen -W 'auto disable' -- "$cur") )
return
;;
--mysql-socket)
@ -92,12 +91,12 @@ _sysbench()
return
;;
--mysql-table-engine)
COMPREPLY=( $( compgen -W 'myisam innodb bdb heap ndbcluster
federated' -- "$cur" ) )
COMPREPLY=( $(compgen -W 'myisam innodb bdb heap ndbcluster
federated' -- "$cur") )
return
;;
--mysql-engine-trx)
COMPREPLY=( $( compgen -W 'yes no auto' -- "$cur" ) )
COMPREPLY=( $(compgen -W 'yes no auto' -- "$cur") )
return
;;
--*)
@ -114,18 +113,17 @@ _sysbench()
fi
done
local opts=$( _parse_help "$1" )
local opts=$(_parse_help "$1")
if [[ $test ]]; then
local help=( $( _parse_help "$1" "--test=$test help" ) )
local help=( $(_parse_help "$1" "--test=$test help") )
opts="${opts[@]/--test=/} ${help[@]} prepare run cleanup help version"
fi
if [[ "$cur" == -* || ! $test ]]; then
COMPREPLY=( $( compgen -W "$opts" -- "$cur" ) )
COMPREPLY=( $(compgen -W "$opts" -- "$cur") )
[[ $COMPREPLY == *= ]] && compopt -o nospace
else
COMPREPLY=( $( compgen -W "prepare run cleanup help version" \
-- "$cur" ) )
COMPREPLY=( $(compgen -W "prepare run cleanup help version" -- "$cur") )
fi
} &&
complete -F _sysbench sysbench