1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Compilation speed (#546)

Speed up compilation

Standard C++ headers contribute a lot to compilation time. Avoid algorithm
and sstream in frequently used headers.
This commit is contained in:
Eugene Kosov
2018-01-14 19:50:45 +03:00
committed by Sergey Vojtovich
parent fc65577873
commit 72136ae75c
9 changed files with 23 additions and 28 deletions

View File

@@ -257,8 +257,8 @@ int table_threads::read_row_values(TABLE *table,
changed to less than or equal to 64 characters.
*/
set_field_varchar_utf8(f, m_row.m_processlist_state_ptr,
std::min<uint>(m_row.m_processlist_state_length,
f->char_length()));
MY_MIN(m_row.m_processlist_state_length,
f->char_length()));
}
else
f->set_null();