summaryrefslogtreecommitdiff
path: root/include/mysql_com.h
diff options
context:
space:
mode:
authoranozdrin/alik@station. <>2007-12-14 16:30:22 +0300
committeranozdrin/alik@station. <>2007-12-14 16:30:22 +0300
commit151444c626c75eab2f8b331c4296c1cff111a907 (patch)
tree362dc5c4acd0fff3e86d1b9d4b96ef068d73b341 /include/mysql_com.h
parent614b0f6884092257e346c6c2d6bec67da0dd3fd2 (diff)
parent27dcbc257767384aec2f1b8530e266cad9022510 (diff)
downloadmariadb-git-151444c626c75eab2f8b331c4296c1cff111a907.tar.gz
Merge station.:/mnt/raid/alik/MySQL/devel/5.1
into station.:/mnt/raid/alik/MySQL/devel/5.1-rt
Diffstat (limited to 'include/mysql_com.h')
-rw-r--r--include/mysql_com.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/include/mysql_com.h b/include/mysql_com.h
index b94a783e839..7eefad44716 100644
--- a/include/mysql_com.h
+++ b/include/mysql_com.h
@@ -396,14 +396,17 @@ typedef struct st_udf_args
typedef struct st_udf_init
{
- my_bool maybe_null; /* 1 if function can return NULL */
- unsigned int decimals; /* for real functions */
- unsigned long max_length; /* For string functions */
- char *ptr; /* free pointer for function data */
- /* 0 if result is independent of arguments */
- my_bool const_item;
+ my_bool maybe_null; /* 1 if function can return NULL */
+ unsigned int decimals; /* for real functions */
+ unsigned long max_length; /* For string functions */
+ char *ptr; /* free pointer for function data */
+ my_bool const_item; /* 1 if function always returns the same value */
void *extension;
} UDF_INIT;
+/*
+ TODO: add a notion for determinism of the UDF.
+ See Item_udf_func::update_used_tables ()
+*/
/* Constants when using compression */
#define NET_HEADER_SIZE 4 /* standard header size */