Commit a54aa69d authored by Georgi Kodinov's avatar Georgi Kodinov

Addendum to merge of Bug#52315 to mysql-trunk-merge :

Fixed the failing sys_vars.timestamp_basic.test by 
not re-calculating the value of the system variable at
check time.
parent 482a40e1
......@@ -2388,7 +2388,6 @@ static bool check_timestamp(sys_var *self, THD *thd, set_var *var)
if (!var->value)
return FALSE;
var->save_result.ulonglong_value= var->value->val_int();
val= (time_t) var->save_result.ulonglong_value;
if (val < (time_t) MY_TIME_T_MIN || val > (time_t) MY_TIME_T_MAX)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment