mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
cleanup: s/const CHARSET_INFO/CHARSET_INFO/
as CHARSET_INFO is already const, using const on it is redundant and results in compiler warnings (on Windows)
This commit is contained in:
@ -5517,7 +5517,7 @@ void Field_time::sql_type(String &res) const
|
||||
res.set_ascii(STRING_WITH_LEN("time"));
|
||||
return;
|
||||
}
|
||||
const CHARSET_INFO *cs= res.charset();
|
||||
CHARSET_INFO *cs= res.charset();
|
||||
res.length(cs->cset->snprintf(cs, (char*) res.ptr(), res.alloced_length(),
|
||||
"time(%d)", decimals()));
|
||||
}
|
||||
|
Reference in New Issue
Block a user