summaryrefslogtreecommitdiff
path: root/sql/my_decimal.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2015-10-22 09:11:23 +0400
committerAlexander Barkov <bar@mariadb.org>2015-10-22 09:11:23 +0400
commite498d326257b2491c9e4f3ba44e57e32085a389d (patch)
treedca9518882236faea3630864428cb339ffffe216 /sql/my_decimal.h
parentbdc03e0579cc5b7fbf07928eeace72a4715cdf52 (diff)
downloadmariadb-git-e498d326257b2491c9e4f3ba44e57e32085a389d.tar.gz
Adding "const" qualifier to arguments of date2my_decimal()
and ErrConvString::ErrConvString(String *).
Diffstat (limited to 'sql/my_decimal.h')
-rw-r--r--sql/my_decimal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/my_decimal.h b/sql/my_decimal.h
index 78c71d54b6d..265b370a154 100644
--- a/sql/my_decimal.h
+++ b/sql/my_decimal.h
@@ -386,7 +386,7 @@ int string2my_decimal(uint mask, const String *str, my_decimal *d)
}
-my_decimal *date2my_decimal(MYSQL_TIME *ltime, my_decimal *dec);
+my_decimal *date2my_decimal(const MYSQL_TIME *ltime, my_decimal *dec);
#endif /*defined(MYSQL_SERVER) || defined(EMBEDDED_LIBRARY) */