| 9516 | |
| 9517 | |
| 9518 | bool Vers_type_timestamp::check_sys_fields(const LEX_CSTRING &table_name, |
| 9519 | const Column_definition *row_start, |
| 9520 | const Column_definition *row_end) const |
| 9521 | { |
| 9522 | if (!is_versioning_timestamp(row_start)) |
| 9523 | { |
| 9524 | require_timestamp_error(row_start->field_name.str, table_name.str); |
| 9525 | return true; |
| 9526 | } |
| 9527 | |
| 9528 | if (row_end->type_handler()->vers() != this || |
| 9529 | !is_versioning_timestamp(row_end)) |
| 9530 | { |
| 9531 | require_timestamp_error(row_end->field_name.str, table_name.str); |
| 9532 | return true; |
| 9533 | } |
| 9534 | |
| 9535 | return false; |
| 9536 | } |
| 9537 | |
| 9538 | |
| 9539 | bool Vers_type_trx::check_sys_fields(const LEX_CSTRING &table_name, |
no test coverage detected