From d9b25ae3db8584bde809c0ab3230cbe151fa489b Mon Sep 17 00:00:00 2001 From: Alexander Barkov Date: Thu, 17 Sep 2015 11:05:07 +0400 Subject: MDEV-8466 CAST works differently for DECIMAL/INT vs DOUBLE for empty strings MDEV-8468 CAST and INSERT work differently for DECIMAL/INT vs DOUBLE for a string with trailing spaces --- sql/set_var.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/set_var.h') diff --git a/sql/set_var.h b/sql/set_var.h index 43ad7f509d8..b8192e67ca9 100644 --- a/sql/set_var.h +++ b/sql/set_var.h @@ -55,7 +55,7 @@ int mysql_del_sys_var_chain(sys_var *chain); optionally it can be assigned to, optionally it can have a command-line counterpart with the same name. */ -class sys_var +class sys_var: protected Value_source // for double_from_string_with_check { public: sys_var *next; -- cgit v1.2.1