summaryrefslogtreecommitdiff
path: root/sql/set_var.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/set_var.cc')
-rw-r--r--sql/set_var.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/set_var.cc b/sql/set_var.cc
index ce4d201672c..895facee6e9 100644
--- a/sql/set_var.cc
+++ b/sql/set_var.cc
@@ -308,7 +308,7 @@ void sys_var::do_deprecated_warning(THD *thd)
bool throw_bounds_warning(THD *thd, const char *name,
bool fixed, bool is_unsigned, longlong v)
{
- if (fixed || (!is_unsigned && v < 0))
+ if (fixed)
{
char buf[22];