← Back to team overview

maria-discuss team mailing list archive

Re: what about cleanly deprecation of config options


-DWITH_PARTITION=1 is also not intentional but in the past builds failed when specify it and it leads to the same problem: skip-partition now in every server config would lead to service failing when the build does what it was originally supposed to do

Am 20.01.2017 um 17:21 schrieb Reindl Harald:
 -DWITHOUT_PERFSCHEMA=1 also seems not to work with 10.1.x because
phpMyAdmin shows it as available engine whlie it's not there in 10.0.x
and you have exactly the same problem that it depens if you have the
unwnated feature silently built or wehn you disable it in my.cnf and the
build next time does what it is supposed to do mysqld refuses to start

Am 20.01.2017 um 17:17 schrieb Reindl Harald:

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:
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 \