diff options
author | Alexander Barkov <bar@mariadb.com> | 2018-04-23 17:03:25 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2018-04-23 17:03:25 +0400 |
commit | 8fce4065e542ad64438d45f60421241dd383815f (patch) | |
tree | 38b9dd7d75bee4ffc1734b0de77fcdafee08a97b /mysql-test/main/sp-row.result | |
parent | 14f84d207177f5cf626377fb760a296a9fceb10d (diff) | |
download | mariadb-git-8fce4065e542ad64438d45f60421241dd383815f.tar.gz |
"AS OF" clean in Type_handler
This patch does the following:
1. Makes Field_vers_trx_id::type_handler() return
&type_handler_vers_trx_id rather than &type_handler_longlong.
Fixes Item_func::convert_const_compared_to_int_field() to
test field_item->type_handler() against &type_handler_vers_trx_id,
instead of testing field_item->vers_trx_id().
2. Removes VERS_TRX_ID related code from
Type_handler_hybrid_field_type::aggregate_for_comparison(),
because "BIGINT UNSIGNED GENERATED ALWAYS AS ROW {START|END}"
columns behave just like a BIGINT in a regular comparison,
i.e. when not inside AS OF.
3. Removes
- Type_handler_hybrid_field_type::m_vers_trx_id;
- Type_handler_hybrid_field_type::m_flags;
because a "BIGINT UNSIGNED GENERATED ALWAYS AS ROW {START|END}"
behaves like a regular BIGINT column when in UNION.
4. Removes Field::vers_trx_id(), Item::vers_trx_id(), Item::field_flags()
They are not needed anymore. See N1.
Diffstat (limited to 'mysql-test/main/sp-row.result')
0 files changed, 0 insertions, 0 deletions