mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
MDEV-14630 Replace {STRING|INT|REAL|DECIMAL|DATE}_ITEM to CONST_ITEM
This commit is contained in:
@ -10630,7 +10630,7 @@ Field *Column_definition_attributes::make_field(TABLE_SHARE *share,
|
||||
|
||||
bool Field_vers_trx_id::test_if_equality_guarantees_uniqueness(const Item* item) const
|
||||
{
|
||||
return item->type() == Item::DATE_ITEM;
|
||||
return item->is_of_type(Item::CONST_ITEM, TIME_RESULT);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user