diff options
author | Alexander Barkov <bar@mariadb.org> | 2015-10-22 09:11:23 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2015-10-22 09:11:23 +0400 |
commit | e498d326257b2491c9e4f3ba44e57e32085a389d (patch) | |
tree | dca9518882236faea3630864428cb339ffffe216 /sql/my_decimal.cc | |
parent | bdc03e0579cc5b7fbf07928eeace72a4715cdf52 (diff) | |
download | mariadb-git-e498d326257b2491c9e4f3ba44e57e32085a389d.tar.gz |
Adding "const" qualifier to arguments of date2my_decimal()
and ErrConvString::ErrConvString(String *).
Diffstat (limited to 'sql/my_decimal.cc')
-rw-r--r-- | sql/my_decimal.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/my_decimal.cc b/sql/my_decimal.cc index 37d4dd25473..be732d4a927 100644 --- a/sql/my_decimal.cc +++ b/sql/my_decimal.cc @@ -320,7 +320,7 @@ my_decimal *seconds2my_decimal(bool sign, } -my_decimal *date2my_decimal(MYSQL_TIME *ltime, my_decimal *dec) +my_decimal *date2my_decimal(const MYSQL_TIME *ltime, my_decimal *dec) { longlong date= (ltime->year*100L + ltime->month)*100L + ltime->day; if (ltime->time_type > MYSQL_TIMESTAMP_DATE) |