mariadb/mysql-test/suite/versioning
Aleksey Midenkov cc183489da MDEV-27293 Allow converting a versioned table from implicit
to explicit row_start/row_end columns

In case of adding both system fields of same type (length, unsigned
flag) as old implicit system fields do the rename of implicit system
fields to the ones specified in ALTER, remove SYSTEM_INVISIBLE flag in
that case. Correct PERIOD clause must be specified in ALTER as well.

MDEV-34904 Inplace alter for implicit to explicit versioning is broken

Whether ALTER goes inplace and how it goes inplace depends on
handler_flags which goes from alter_info->flags by this logic:

  ha_alter_info->handler_flags|= (alter_info->flags & ~flags_to_remove);

ALTER_VERS_EXPLICIT was not in flags_to_remove and its value (1ULL <<
35) clashed with ALTER_ADD_NON_UNIQUE_NON_PRIM_INDEX.

ALTER_VERS_EXPLICIT must not affect inplace, it is SQL-only so we
remove it from handler_flags.
2024-10-29 17:46:40 +03:00
..
r MDEV-27293 Allow converting a versioned table from implicit 2024-10-29 17:46:40 +03:00
t MDEV-27293 Allow converting a versioned table from implicit 2024-10-29 17:46:40 +03:00
common.inc Merge 11.4 into 11.6 2024-10-03 16:09:56 +03:00
common.opt
common_finish.inc Merge branch '10.6' into 10.9 2023-08-04 08:01:06 +02:00
disabled.def
engines.combinations
engines.inc
innodb.combinations
innodb.inc
key_type.combinations
key_type.inc
sys_time.inc MDEV-32188 make TIMESTAMP use whole 32-bit unsigned range 2024-05-27 12:39:02 +02:00
wait_system_clock.inc