1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +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

@ -6616,10 +6616,10 @@ bool Vers_parse_info::add_versioning_info(
if (f->versioning == Column_definition::VERSIONING_NOT_SET &&
without_system_versioning_by_default)
f->flags|= WITHOUT_SYSTEM_VERSIONING_FLAG;
f->flags|= VERS_OPTIMIZED_UPDATE_FLAG;
else if (f->versioning == Column_definition::WITHOUT_VERSIONING)
f->flags|= WITHOUT_SYSTEM_VERSIONING_FLAG;
f->flags|= VERS_OPTIMIZED_UPDATE_FLAG;
}
// If user specified some of these he must specify the others too. Do nothing.