← Back to team overview

maria-developers team mailing list archive

Re: 269793896c4: Split tdc_remove_table()

 

Hi, Sergey!

ok to push

On Apr 02, Sergey Vojtovich wrote:
> revision-id: 269793896c4 (mariadb-10.5.0-75-g269793896c4)
> parent(s): f92e6520a62
> author: Sergey Vojtovich <svoj@xxxxxxxxxxx>
> committer: Sergey Vojtovich <svoj@xxxxxxxxxxx>
> timestamp: 2019-12-27 17:14:57 +0400
> message:
> 
> Split tdc_remove_table()
> 
> TDC_RT_REMOVE_ALL -> tdc_remove_table(). Some occurrences replaced with
> TDC_element::flush() (whenver TABLE_SHARE is available).
> 
> TDC_RT_REMOVE_NOT_OWN[_KEEP_SHARE] -> TDC_element::flush(). These modes
> assume that current thread owns TABLE_SHARE reference, which means we can
> avoid hash lookup and flush unused TABLE instances directly.
> 
> TDC_RT_REMOVE_UNUSED -> TDC_element::flush_unused(). Only [ab]used by
> mysql_admin_table() currently. Should be removed eventually.
> 
> Part of MDEV-17882 - Cleanup refresh version
> 
Regards,
Sergei
VP of MariaDB Server Engineering
and security@xxxxxxxxxxx