maria-developers team mailing list archive
-
maria-developers team
-
Mailing list archive
-
Message #11310
Re: Open and close a TABLE_LIST at random place in code
Hi, Eugene!
On May 31, Eugene Kosov wrote:
> Hello.
>
> I need to know whether a table is a SYSTEM VERSIONING table. It's
> needed for MDEV-16231. And also it's needed to disable TRUNCATE TABLE
> for MDEV-15966: one code path do not open table at all.
Hmm, and your approach was to open all tables before TRUNCATE and
DELETE, just in case, to check whether they're versioned?
Please, don't. Check for the versioning when the table is already opened.
> 31.05.2018, 14:11, "Sergei Golubchik" <serg@xxxxxxxxxxx>:
> > Hi, Eugene!
> >
> > What are you trying to do in the first place?
> >
Regards,
Sergei
Chief Architect MariaDB
and security@xxxxxxxxxxx
References