mirror of
https://github.com/MariaDB/server.git
synced 2026-05-07 15:45:33 +02:00
new UDF arguments interface (WL#1017) (SCRUM)
include/mysql_com.h: new UDF arguments interface sql/item.cc: added lenghth name foe item (to avoid strlen() call) sql/item.h: added lenghth name foe item (to avoid strlen() call) sql/item_func.cc: new UDF arguments sql/sql_parse.cc: fixed problem with UDF in 5.0 sql/sql_yacc.yy: new syntax of UDF arguments sql/udf_example.cc: new UDF example (stupid function to test parameters) tests/udf_test.res: new UDF example (stupid function to test parameters) tests/udf_test: new UDF example (stupid function to test parameters)
This commit is contained in:
parent
55e776d145
commit
07e372cd6b
9 changed files with 134 additions and 14 deletions
|
|
@ -278,6 +278,8 @@ typedef struct st_udf_args
|
|||
char **args; /* Pointer to argument */
|
||||
unsigned long *lengths; /* Length of string arguments */
|
||||
char *maybe_null; /* Set to 1 for all maybe_null args */
|
||||
char **attributes; /* Pointer to attribute name */
|
||||
unsigned long *attribute_lengths; /* Length of attribute arguments */
|
||||
} UDF_ARGS;
|
||||
|
||||
/* This holds information about the result */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue