maria-developers team mailing list archive
Mailing list archive
Re: Open and close a TABLE_LIST at random place in code
On May 31, Eugene Kosov wrote:
> 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?
Chief Architect MariaDB