23 #include <drizzled/plugin/function.h>
24 #include <drizzled/function/math/int.h>
38 const char *func_name()
const
40 return "coercibility";
43 void fix_length_and_dec()
45 max_length=10; maybe_null= 0;
63 return (int64_t) args[0]->collation.derivation;
66 plugin::Create_function<CoercibilityFunction> *coercibility_function= NULL;
70 coercibility_function=
new plugin::Create_function<CoercibilityFunction>(
"coercibility");
71 context.add(coercibility_function);
75 DRIZZLE_DECLARE_PLUGIN
81 N_(
"COERCIBILITY function"),
87 DRIZZLE_DECLARE_PLUGIN_END;
TODO: Rename this file - func.h is stupid.
bool check_argument_count(int n)
table_map not_null_tables() const