mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
remove ULL() and LL(), because they're totally unnecessary
and sometimes harmful (used with expressions)
This commit is contained in:
@ -103,14 +103,14 @@ class udf_handler :public Sql_alloc
|
||||
if (get_arguments())
|
||||
{
|
||||
*null_value=1;
|
||||
return LL(0);
|
||||
return 0;
|
||||
}
|
||||
Udf_func_longlong func= (Udf_func_longlong) u_d->func;
|
||||
longlong tmp=func(&initid, &f_args, &is_null, &error);
|
||||
if (is_null || error)
|
||||
{
|
||||
*null_value=1;
|
||||
return LL(0);
|
||||
return 0;
|
||||
}
|
||||
*null_value=0;
|
||||
return tmp;
|
||||
|
Reference in New Issue
Block a user