← Back to team overview

maria-discuss team mailing list archive

Re: what about cleanly deprecation of config options


why do we have here ON/OFF and YES/NO at all


what is a storage engine, wthat is a plugin, what is some misc option and where is now YES/NO and where ON/OFF needed and what is renamed and what was kept

in the past cmake at least complained somewhere about unknown options

-DWITH_LIBWRAP=OFF worked (partly) while -DWITHOUT_LIBWRAP=ON was ignored silently - that's a very idiotic syntax in general instead have -DWITHOUT-FEATURE and -DWITH_FEATURE

-DWITH_LIBWRAP=OFF is by all respect pervert "with something off" in which natural or logical language is that normal?

Am 20.01.2017 um 17:38 schrieb Reindl Harald:
Am 20.01.2017 um 17:28 schrieb Brian Evans:
On 1/20/2017 11:21 AM, Reindl Harald wrote:
 -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

The plugin/storage engine syntax changed with 10.1 so the correct
setting would -DPLUGIN_PERFSCHEMA=NO (OFF and 0 are not valid since it's
a string comparison).

jesus christ

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