diff options
author | Sergei Golubchik <serg@mariadb.org> | 2014-11-19 09:13:38 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2014-12-04 10:41:51 +0100 |
commit | 2ae7541bcf93985302bc7efb2629e6f623ccfc64 (patch) | |
tree | d0b14c1dba4bffc2ae82f2d51f1f9ef4ebf7035a /sql/item_timefunc.h | |
parent | 0d30423900dd3a384f061c32f6ec3de9c11cdde9 (diff) | |
download | mariadb-git-2ae7541bcf93985302bc7efb2629e6f623ccfc64.tar.gz |
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)
Diffstat (limited to 'sql/item_timefunc.h')
-rw-r--r-- | sql/item_timefunc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_timefunc.h b/sql/item_timefunc.h index 839a5a4845d..8438119ddc6 100644 --- a/sql/item_timefunc.h +++ b/sql/item_timefunc.h @@ -523,7 +523,7 @@ public: return cached_field_type == MYSQL_TYPE_STRING ? STRING_RESULT : TIME_RESULT; } - const CHARSET_INFO *charset_for_protocol() const + CHARSET_INFO *charset_for_protocol() const { /* Can return TIME, DATE, DATETIME or VARCHAR depending on arguments. |