Fixing a Windows compilation failure introduced by MDEV-20706

This commit is contained in:
Alexander Barkov 2019-10-01 17:10:41 +04:00
parent 7474deec49
commit c06397f615

View file

@ -10347,7 +10347,7 @@ bool Column_definition::fix_attributes_temporal_with_time(uint int_part_length)
MAX_DATETIME_PRECISION);
return true;
}
decimals= length;
decimals= (uint) length;
length+= int_part_length + (length ? 1 : 0);
return false;
}