MySQL  8.0.17
Source Code Documentation
UDF_INIT Struct Reference


Information about the result of a user defined function More...

#include <udf_registration_types.h>

Public Attributes

bool maybe_null
 
unsigned int decimals
 1 if function can return NULL More...
 
unsigned long max_length
 for real functions More...
 
char * ptr
 For string functions. More...
 
bool const_item
 free pointer for function data More...
 
void * extension
 1 if function always returns the same value More...
 

Detailed Description


Information about the result of a user defined function

See also
Item_udf_func::update_used_tables()

Member Data Documentation

◆ const_item

bool UDF_INIT::const_item

free pointer for function data

◆ decimals

unsigned int UDF_INIT::decimals

1 if function can return NULL

◆ extension

void* UDF_INIT::extension

1 if function always returns the same value

◆ max_length

unsigned long UDF_INIT::max_length

for real functions

◆ maybe_null

bool UDF_INIT::maybe_null

◆ ptr

char* UDF_INIT::ptr

For string functions.


The documentation for this struct was generated from the following file: