← Back to team overview

maria-developers team mailing list archive

Re: 2de0c74f94c: Optimize Sql_alloc

 

Hi, Michael!

ok to push

On Sep 08, Michael Widenius wrote:
> revision-id: 2de0c74f94c (mariadb-10.5.2-271-g2de0c74f94c)
> parent(s): 21eb8969ce9
> author: Michael Widenius <michael.widenius@xxxxxxxxx>
> committer: Michael Widenius <michael.widenius@xxxxxxxxx>
> timestamp: 2020-09-03 15:17:56 +0300
> message:
> 
> Optimize Sql_alloc
> 
> - Remove 'dummy_for_valgrind' overrun marker as this doesn't help much.
>   The element also distorts the sizes of objects a bit, which makes it
>   harder to calculate gain in object sizes when doing size optimizations.
> - Avoid one extra call indirection when using thd_get_current_thd(), which
>   is used by Sql_alloc.

Regards,
Sergei
VP of MariaDB Server Engineering
and security@xxxxxxxxxxx