~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql/sql_udf.h

  • Committer: Brian Aker
  • Date: 2008-07-07 14:25:25 UTC
  • mto: (77.1.25 codestyle)
  • mto: This revision was merged to the branch mainline in revision 82.
  • Revision ID: brian@tangent.org-20080707142525-xzy2nl3ie2ebwfln
LL() cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
    if (get_arguments())
100
100
    {
101
101
      *null_value=1;
102
 
      return LL(0);
 
102
      return 0LL;
103
103
    }
104
104
    Udf_func_longlong func= (Udf_func_longlong) u_d->func;
105
105
    longlong tmp=func(&initid, &f_args, &is_null, &error);
106
106
    if (is_null || error)
107
107
    {
108
108
      *null_value=1;
109
 
      return LL(0);
 
109
      return 0LL;
110
110
    }
111
111
    *null_value=0;
112
112
    return tmp;