maria-discuss team mailing list archive
-
maria-discuss team
-
Mailing list archive
-
Message #05558
Re: 10.3.x: unknown variable 'innodb_support_xa=1'
-
To:
Maria Discuss <maria-discuss@xxxxxxxxxxxxxxxxxxx>
-
From:
Reindl Harald <h.reindl@xxxxxxxxxxxxx>
-
Date:
Mon, 2 Sep 2019 20:32:06 +0200
-
In-reply-to:
<CAJuX1hxqKqCoh7m7rj+=wdo9U+52wsch=AoQWPN4suwuMxkTdg@mail.gmail.com>
-
Openpgp:
id=9D2B46CDBC140A36753AE4D733174D5A5892B7B8; url=https://arrakis-tls.thelounge.net/gpg/h.reindl_thelounge.net.pub.txt
-
Organization:
the lounge interactive design
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0
Am 02.09.19 um 20:20 schrieb Marko Mäkelä:
> On Mon, Sep 2, 2019 at 8:48 PM Reindl Harald <h.reindl@xxxxxxxxxxxxx> wrote:
>> and yes, i assumed that a core developer other than you would look at
>> that startup log, came to the conslusion "indeed, no warning there"
>> and while read the few lines "indeed, the latest 10.2 version"
>
> You are right that a warning should be issued for deprecated variables
> if any value was specified in the configuration file or by a command
> line option.
>
> Unfortunately, I am not aware how a storage engine could distinguish
> the compile-time default value from a user-specified identical value.
> That is why InnoDB did not issue the deprecation warning for you.
> Maybe you can submit a fix that would address this deficiency?
sadly i am not a C/C++ delevoper but i would expect it to be as simple
as two simple *global* lists
$known_options = ['innodb_support_xa', 'performance-schema=0', ...]
$deprecated_options ['innodb_support_xa', ....]
-DPLUGIN_PARTITION=NO, -DPLUGIN_PERFSCHEMA=NO where broken in multiple
point releases the past years and everytime one decided "well, then
disable that build option and use the config option to disable it"
leaded later in "oh fuck, now the the build was fixed it no longer
starts because of the now unknown option"
a simple lookup in "known_options" and react with a generic warning that
this option is not supported in the current build instead refuse to
start and refuse only when a total unknownm option appears would have
safed a lot of headache
References
-
10.3.x: unknown variable 'innodb_support_xa=1'
From: Reindl Harald, 2019-09-02
-
Re: 10.3.x: unknown variable 'innodb_support_xa=1'
From: Marko Mäkelä, 2019-09-02
-
Re: 10.3.x: unknown variable 'innodb_support_xa=1'
From: Reindl Harald, 2019-09-02
-
Re: 10.3.x: unknown variable 'innodb_support_xa=1'
From: Benoit Plessis, 2019-09-02
-
Re: 10.3.x: unknown variable 'innodb_support_xa=1'
From: Reindl Harald, 2019-09-02
-
Re: 10.3.x: unknown variable 'innodb_support_xa=1'
From: Faustin Lammler, 2019-09-02
-
Re: 10.3.x: unknown variable 'innodb_support_xa=1'
From: Reindl Harald, 2019-09-02
-
Re: 10.3.x: unknown variable 'innodb_support_xa=1'
From: Faustin Lammler, 2019-09-02
-
Re: 10.3.x: unknown variable 'innodb_support_xa=1'
From: Reindl Harald, 2019-09-02
-
Re: 10.3.x: unknown variable 'innodb_support_xa=1'
From: Marko Mäkelä, 2019-09-02