← Back to team overview

maria-developers team mailing list archive

Re: 61b9bffbedc: Allocate orig_list statically

 

Hi, Sergey!

ok to push

On Mar 25, Sergey Vojtovich wrote:
> revision-id: 61b9bffbedc (mariadb-10.3.12-90-g61b9bffbedc)
> parent(s): 9dd4fcb3f7c
> author: Sergey Vojtovich <svoj@xxxxxxxxxxx>
> committer: Sergey Vojtovich <svoj@xxxxxxxxxxx>
> timestamp: 2019-03-19 23:39:19 +0400
> message:
> 
> Allocate orig_list statically
> 
> tool_list is a temporary list needed only for SET SESSION
> session_track_system_variables, so allocate it on stack instead.
> 
> Sane reinit() calls.
> 
> Saves 2 new/delete per connection.
> 
> Part of MDEV-14984 - regression in connect performance
> 
Regards,
Sergei
Chief Architect MariaDB
and security@xxxxxxxxxxx