Commit 4359c6b4 authored by Alexander Barkov's avatar Alexander Barkov

A cleanup for MDEV-15597: fixing compilation failure on 32-bit Windows

parent e263530b
......@@ -1349,7 +1349,8 @@ READ_INFO::READ_INFO(THD *thd, File file_par,
set_if_bigger(length,line_start.length());
stack= stack_pos= (int*) thd->alloc(sizeof(int) * length);
if (data.reserve(m_fixed_length))
DBUG_ASSERT(m_fixed_length < UINT_MAX32);
if (data.reserve((size_t) m_fixed_length))
error=1; /* purecov: inspected */
else
{
......
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