Skip to content
Permalink
Browse files
A cleanup for MDEV-15597: fixing compilation failure on 32-bit Windows
  • Loading branch information
abarkov committed Mar 20, 2018
1 parent e263530 commit 4359c6b
Showing 1 changed file with 2 additions and 1 deletion.
@@ -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
{

0 comments on commit 4359c6b

Please sign in to comment.