1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

SQL: store versioning field flags in EXTRA2

This commit is contained in:
Kosov Eugene
2016-10-26 14:32:41 +03:00
committed by Aleksey Midenkov
parent e094228631
commit 7d815be198
9 changed files with 69 additions and 26 deletions

View File

@ -161,7 +161,7 @@ static bool check_has_vers_fields(List<Item> &items)
while (Item *item= it++)
{
if (Item_field *item_field= item->field_for_view_update())
if (!(item_field->field->flags & WITHOUT_SYSTEM_VERSIONING_FLAG))
if (!(item_field->field->flags & VERS_OPTIMIZED_UPDATE_FLAG))
return true;
}
return false;