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:
committed by
Sergey Vojtovich
parent
fc65577873
commit
72136ae75c
@@ -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();
|
||||
|
Reference in New Issue
Block a user