diff options
Diffstat (limited to 'sql/sql_yacc.yy')
-rw-r--r-- | sql/sql_yacc.yy | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/sql/sql_yacc.yy b/sql/sql_yacc.yy index 46c77f39341..0a72e5b7991 100644 --- a/sql/sql_yacc.yy +++ b/sql/sql_yacc.yy @@ -1273,12 +1273,7 @@ create: ; sp_name: - '.' IDENT_sys - { - $$= new sp_name($2); - $$->init_qname(YYTHD); - } - | IDENT_sys '.' IDENT_sys + IDENT_sys '.' IDENT_sys { $$= new sp_name($1, $3); $$->init_qname(YYTHD); @@ -4461,18 +4456,6 @@ simple_expr: { $$= new Item_func_round($3,$5,1); } | TRUE_SYM { $$= new Item_int((char*) "TRUE",1,1); } - | '.' ident '(' udf_expr_list ')' - { - LEX *lex= Lex; - sp_name *name= new sp_name($2); - - name->init_qname(YYTHD); - sp_add_fun_to_lex(Lex, name); - if ($4) - $$= new Item_func_sp(name, *$4); - else - $$= new Item_func_sp(name); - } | ident '.' ident '(' udf_expr_list ')' { LEX *lex= Lex; |