mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
merge with 5.1-micro
This commit is contained in:
@ -2281,11 +2281,7 @@ mysql_execute_command(THD *thd)
|
||||
goto error;
|
||||
}
|
||||
it= new Item_func_unix_timestamp(it);
|
||||
/*
|
||||
it is OK only emulate fix_fieds, because we need only
|
||||
value of constant
|
||||
*/
|
||||
it->quick_fix_field();
|
||||
it->fix_fields(thd, &it);
|
||||
res = purge_master_logs_before_date(thd, (ulong)it->val_int());
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user