~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/sql_udf.h

  • Committer: Brian Aker
  • Date: 2008-07-20 07:10:24 UTC
  • Revision ID: brian@tangent.org-20080720071024-o1wv37gyy8ln5xgk
More my_bool cleanup.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
typedef void (*Udf_func_clear)(UDF_INIT *, uchar *, uchar *);
26
26
typedef void (*Udf_func_add)(UDF_INIT *, UDF_ARGS *, uchar *, uchar *);
27
27
typedef void (*Udf_func_deinit)(UDF_INIT*);
28
 
typedef my_bool (*Udf_func_init)(UDF_INIT *, UDF_ARGS *,  char *);
 
28
typedef bool (*Udf_func_init)(UDF_INIT *, UDF_ARGS *,  char *);
29
29
typedef void (*Udf_func_any)();
30
30
typedef double (*Udf_func_double)(UDF_INIT *, UDF_ARGS *, uchar *, uchar *);
31
31
typedef int64_t (*Udf_func_int64_t)(UDF_INIT *, UDF_ARGS *, uchar *,
125
125
    }
126
126
    Udf_func_add func= u_d->func_add;
127
127
    func(&initid, &f_args, &is_null, &error);
128
 
    *null_value= (my_bool) (is_null || error);
 
128
    *null_value= (bool) (is_null || error);
129
129
  }
130
130
  String *val_str(String *str,String *save_str);
131
131
};