← Back to team overview

maria-discuss team mailing list archive

Re: what about cleanly deprecation of config options


Am 20.01.2017 um 17:11 schrieb Sergei Golubchik:
Hi, Reindl!

On Jan 20, Reindl Harald wrote:
what about spit some warnings in 10.0.x releases instead after update to
10.1.x service not starting and you can look what confdig options needs
to be removed

2017-01-20 16:34:36 140555676232000 [ERROR] /usr/libexec/mysqld: unknown
option '--skip-federated'
2017-01-20 16:34:36 140555676232000 [ERROR] Aborting

I think you have built your 10.0.x releases with federated and you've
built your 10.1.x without federated. That's why --skip-federated worked
in your 10.0 build and didn't work in your 10.1 build.

not by intention

If you'd like you can paste here exact commands you've used to build
10.0 and 10.1 and I'll see why federated isn't built anymore

it was never supposed to be built - frankly i would prefer if i could say "i only need xtradb and myisam, period" at configure

however, the "oh i don't understand a single config line and refuse to start" behavior is annoying for a decade now

at least it could support a param at startup to turn such errors to warning which means "i read my logs and fix it but while the service is up and running"

the CMAKE call is unchanged and only that two params added to get rid of additional stuff with 10.1.x


cmake . -DBUILD_CONFIG=mysql_release \
 -DFEATURE_SET="community" \
 -DCMAKE_INSTALL_PREFIX="%{_prefix}" \
 -DINSTALL_INCLUDEDIR=include/mysql \
 -DINSTALL_LIBDIR="%{_lib}/mysql" \
 -DINSTALL_MANDIR=share/man \
 -DINSTALL_MYSQLTESTDIR=share/mysql-test \
 -DINSTALL_PLUGINDIR="%{_lib}/mysql/plugin" \
 -DMYSQL_DATADIR="%{_sharedstatedir}/mysql" \
 -DMYSQL_UNIX_ADDR="%{_sharedstatedir}/mysql/mysql.sock" \
 -DWITH_SSL=system \

Follow ups