Commit c06397f6 authored by Alexander Barkov's avatar Alexander Barkov

Fixing a Windows compilation failure introduced by MDEV-20706

parent 7474deec
...@@ -10347,7 +10347,7 @@ bool Column_definition::fix_attributes_temporal_with_time(uint int_part_length) ...@@ -10347,7 +10347,7 @@ bool Column_definition::fix_attributes_temporal_with_time(uint int_part_length)
MAX_DATETIME_PRECISION); MAX_DATETIME_PRECISION);
return true; return true;
} }
decimals= length; decimals= (uint) length;
length+= int_part_length + (length ? 1 : 0); length+= int_part_length + (length ? 1 : 0);
return false; return false;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment