21 #include <drizzled/function/str/strfunc.h>
22 #include <drizzled/plugin/function.h>
23 #include <drizzled/version.h>
26 using namespace drizzled;
34 const char *func_name()
const
44 void fix_length_and_dec() {}
49 str->set(::drizzled::version().c_str(), ::drizzled::version().size(),
54 plugin::Create_function<VersionFunction> *versionudf= NULL;
58 versionudf=
new plugin::Create_function<VersionFunction>(
"version");
59 context.add(versionudf);
63 DRIZZLE_DECLARE_PLUGIN
68 "Devananda van der Veen",
69 N_(
"VERSION function"),
75 DRIZZLE_DECLARE_PLUGIN_END;
bool check_argument_count(int n)
String * val_str(String *str)