You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-08 14:02:17 +03:00
CONC-710: Remove UDF declarations
Removed UDF declarations from mariadb_com.h
This commit is contained in:
@@ -404,30 +404,6 @@ struct rand_struct {
|
|||||||
double max_value_dbl;
|
double max_value_dbl;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* The following is for user defined functions */
|
|
||||||
|
|
||||||
enum Item_result {STRING_RESULT,REAL_RESULT,INT_RESULT,ROW_RESULT,DECIMAL_RESULT};
|
|
||||||
|
|
||||||
typedef struct st_udf_args
|
|
||||||
{
|
|
||||||
unsigned int arg_count; /* Number of arguments */
|
|
||||||
enum Item_result *arg_type; /* Pointer to item_results */
|
|
||||||
char **args; /* Pointer to argument */
|
|
||||||
unsigned long *lengths; /* Length of string arguments */
|
|
||||||
char *maybe_null; /* Set to 1 for all maybe_null args */
|
|
||||||
} UDF_ARGS;
|
|
||||||
|
|
||||||
/* This holds information about the result */
|
|
||||||
|
|
||||||
typedef struct st_udf_init
|
|
||||||
{
|
|
||||||
my_bool maybe_null; /* 1 if function can return NULL */
|
|
||||||
unsigned int decimals; /* for real functions */
|
|
||||||
unsigned int max_length; /* For string functions */
|
|
||||||
char *ptr; /* free pointer for function data */
|
|
||||||
my_bool const_item; /* 0 if result is independent of arguments */
|
|
||||||
} UDF_INIT;
|
|
||||||
|
|
||||||
/* Connection types */
|
/* Connection types */
|
||||||
#define MARIADB_CONNECTION_UNIXSOCKET 0
|
#define MARIADB_CONNECTION_UNIXSOCKET 0
|
||||||
#define MARIADB_CONNECTION_TCP 1
|
#define MARIADB_CONNECTION_TCP 1
|
||||||
|
Reference in New Issue
Block a user