1
0
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:
Sergei Golubchik
2014-11-19 09:13:38 +01:00
parent 0d30423900
commit 2ae7541bcf
20 changed files with 33 additions and 34 deletions

View File

@ -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()));
}