maria-developers team mailing list archive
-
maria-developers team
-
Mailing list archive
-
Message #12649
Re: e3971006cca: Give a readable error in mtr if resolve_at_variable fails
Hi!
On Mon, Apr 5, 2021 at 5:27 PM Sergei Golubchik <serg@xxxxxxxxxxx> wrote:
>
> Hi, Monty!
>
> On Apr 05, Michael Widenius wrote:
> > revision-id: e3971006cca (mariadb-10.5.2-547-ge3971006cca)
> > parent(s): ae009435e72
> > author: Michael Widenius <michael.widenius@xxxxxxxxx>
> > committer: Michael Widenius <michael.widenius@xxxxxxxxx>
> > timestamp: 2021-03-24 19:25:09 +0200
> > message:
> >
> > Give a readable error in mtr if resolve_at_variable fails
>
> This change is wrong. Clearly, the || '' part was intentional.
> Check the history, it was added in the commit
>
> commit 897b51db434
> Author: Sergei Golubchik <serg@xxxxxxxxxxx>
> Date: Thu Sep 10 12:12:47 2020 +0200
>
> make S3 tests to run when S3 is statically linked
>
> * use the environment variable HA_S3_SO, not a literal ha_s3 in cnf files
> * make ConfigFactory to support empty option values
> * update no_s3.result after MDEV-11412
>
> so, apparently, the idea was that you should be able to write
>
> plugin-load-add=$HA_S3_SO
>
> and it will *not* fail when $HA_S3_SO is not defined, because S3 engine
> is statically linked in.
I did not do this for the HA_S3 engine. I got under some conditions
that I cannot remember now, warnings when running mtr about accessing
not allocated
variables. The patch helped me to find and fix those.
References