Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 111809
Collapse All | Expand All

(-)mysql-slot.rc6.old (+7 lines)
Lines 37-42 Link Here
37
	[[ "${MY_SUFFIX}" == '-0' ]] && MY_SUFFIX=''
37
	[[ "${MY_SUFFIX}" == '-0' ]] && MY_SUFFIX=''
38
	MY_CNF="/etc/mysql${MY_SUFFIX}/my.cnf"
38
	MY_CNF="/etc/mysql${MY_SUFFIX}/my.cnf"
39
	unmanagedparams=""
39
	unmanagedparams=""
40
	local prioritizedparams=""
40
	local my_print_defaults="$(which my_print_defaults${MY_SUFFIX} 2>/dev/null)"
41
	local my_print_defaults="$(which my_print_defaults${MY_SUFFIX} 2>/dev/null)"
41
	local paramlist=","
42
	local paramlist=","
42
	local mycnf
43
	local mycnf
Lines 121-126 Link Here
121
				if ! in_list "${my_default%%=*}" "${paramlist}" ; then
122
				if ! in_list "${my_default%%=*}" "${paramlist}" ; then
122
					socket="${my_default#--socket=}"
123
					socket="${my_default#--socket=}"
123
				fi ;;
124
				fi ;;
125
			--*character*=*)
126
				if ! in_list "${my_default%%=*}" "${paramlist}" ; then
127
					paramlist="${paramlist}${my_default%%=*},"
128
					prioritizedparams="${prioritizedparams} ${my_default}"
129
				fi ;;
124
			*=*)
130
			*=*)
125
				# check into the list of parameters we already have
131
				# check into the list of parameters we already have
126
				if ! in_list "${my_default%%=*}" "${paramlist}"; then
132
				if ! in_list "${my_default%%=*}" "${paramlist}"; then
Lines 136-141 Link Here
136
				;;
142
				;;
137
		esac
143
		esac
138
	done
144
	done
145
	unmanagedparams="${prioritizedparams} ${unmanagedparams}"
139
146
140
	for i in basedir datadir pidfile socket ; do
147
	for i in basedir datadir pidfile socket ; do
141
		if [[ -z "${!i}" ]] ; then
148
		if [[ -z "${!i}" ]] ; then

Return to bug 111809