5.0-opt -> 5.1-opt merge fixed.

parent 98911707
...@@ -32,4 +32,3 @@ rpl_multi_engine : BUG#22583 2006-09-23 lars ...@@ -32,4 +32,3 @@ rpl_multi_engine : BUG#22583 2006-09-23 lars
#ndb_binlog_ddl_multi : BUG#18976 2006-04-10 kent CRBR: multiple binlog, second binlog may miss schema log events #ndb_binlog_ddl_multi : BUG#18976 2006-04-10 kent CRBR: multiple binlog, second binlog may miss schema log events
ndb_binlog_discover : bug#21806 2006-08-24 ndb_binlog_discover : bug#21806 2006-08-24
ndb_autodiscover3 : bug#21806 ndb_autodiscover3 : bug#21806
udf : for GKodinov to fix. Your fix for #21809 stopped working in 5.1 after the merge.
...@@ -6372,11 +6372,10 @@ function_call_generic: ...@@ -6372,11 +6372,10 @@ function_call_generic:
} }
} }
/* Temporary placing the result of find_udf in $3 */ /* Temporary placing the result of find_udf in $3 */
$<udf>$= udf;
lex->current_select->udf_list.push_front(udf); lex->current_select->udf_list.push_front(udf);
#endif #endif
} }
opt_expr_list ')' udf_expr_list ')'
{ {
THD *thd= YYTHD; THD *thd= YYTHD;
LEX *lex= Lex; LEX *lex= Lex;
...@@ -6401,7 +6400,7 @@ function_call_generic: ...@@ -6401,7 +6400,7 @@ function_call_generic:
{ {
#ifdef HAVE_DLOPEN #ifdef HAVE_DLOPEN
/* Retrieving the result of find_udf */ /* Retrieving the result of find_udf */
udf_func *udf= $<udf>3; udf_func *udf;
LEX *lex= Lex; LEX *lex= Lex;
if (NULL != (udf= lex->current_select->udf_list.pop())) if (NULL != (udf= lex->current_select->udf_list.pop()))
...@@ -6427,7 +6426,7 @@ function_call_generic: ...@@ -6427,7 +6426,7 @@ function_call_generic:
YYABORT; YYABORT;
} }
} }
| ident '.' ident '(' udf_expr_list ')' | ident '.' ident '(' opt_expr_list ')'
{ {
THD *thd= YYTHD; THD *thd= YYTHD;
Create_qfunc *builder; Create_qfunc *builder;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment