#include <stdbool.h>
Go to the source code of this file.
|
typedef struct UDF_ARGS | UDF_ARGS |
|
typedef struct UDF_INIT | UDF_INIT |
| Information about the result of a user defined function. More...
|
|
typedef void(* | Udf_func_clear) (UDF_INIT *, unsigned char *, unsigned char *) |
|
typedef void(* | Udf_func_add) (UDF_INIT *, UDF_ARGS *, unsigned char *, unsigned char *) |
|
typedef void(* | Udf_func_deinit) (UDF_INIT *) |
|
typedef bool(* | Udf_func_init) (UDF_INIT *, UDF_ARGS *, char *) |
|
typedef void(* | Udf_func_any) (void) |
|
typedef double(* | Udf_func_double) (UDF_INIT *, UDF_ARGS *, unsigned char *, unsigned char *) |
|
typedef long long(* | Udf_func_longlong) (UDF_INIT *, UDF_ARGS *, unsigned char *, unsigned char *) |
|
typedef char *(* | Udf_func_string) (UDF_INIT *, UDF_ARGS *, char *, unsigned long *, unsigned char *, unsigned char *) |
|
◆ UDF_ARGS
◆ Udf_func_add
typedef void(* Udf_func_add) (UDF_INIT *, UDF_ARGS *, unsigned char *, unsigned char *) |
◆ Udf_func_any
typedef void(* Udf_func_any) (void) |
◆ Udf_func_clear
typedef void(* Udf_func_clear) (UDF_INIT *, unsigned char *, unsigned char *) |
◆ Udf_func_deinit
typedef void(* Udf_func_deinit) (UDF_INIT *) |
◆ Udf_func_double
typedef double(* Udf_func_double) (UDF_INIT *, UDF_ARGS *, unsigned char *, unsigned char *) |
◆ Udf_func_init
◆ Udf_func_longlong
typedef long long(* Udf_func_longlong) (UDF_INIT *, UDF_ARGS *, unsigned char *, unsigned char *) |
◆ Udf_func_string
typedef char *(* Udf_func_string) (UDF_INIT *, UDF_ARGS *, char *, unsigned long *, unsigned char *, unsigned char *) |
◆ UDF_INIT
Information about the result of a user defined function.
- See also
- Item_udf_func::update_used_tables()
◆ Item_result
Type of the user defined function return slot and arguments.
Enumerator |
---|
INVALID_RESULT | |
STRING_RESULT | not valid for UDFs
|
REAL_RESULT | char *
|
INT_RESULT | double
|
ROW_RESULT | long long
|
DECIMAL_RESULT | not valid for UDFs
char *, to be converted to/from a decimal
|
◆ Item_udftype
Enumerator |
---|
UDFTYPE_FUNCTION | |
UDFTYPE_AGGREGATE | |