← Back to team overview

maria-developers team mailing list archive

Re: Bug in trx_group_commit_leader()


Michael Widenius <monty@xxxxxxxxxxxx> writes:

> I noticed this compiler error on one of the build machines for 10.0-base:
> /home/buildbot/buildbot/build/mariadb-10.0.0/sql/log.cc:6564:40:
> warning: ‘last_in_queue’ may be used uninitialized in this function
> [-Wuninitialized]

Thanks. I've pushed the fix to 10.0-base.

> Looking at the code, this looks like a real potential bug.

Yes (though likely dead code, as there's a DBUG_ASSERT before the if ()
asserting that it is always true).

 - Kristian.