summaryrefslogtreecommitdiff
path: root/sql/sql_yacc.yy
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2001-10-20 11:04:23 +0300
committerunknown <monty@hundin.mysql.fi>2001-10-20 11:04:23 +0300
commitfef5292a47be904f1cf2ccbef1489a8a10e0cf79 (patch)
treebd2655b5a96405bd45e975746c8025dc72b39512 /sql/sql_yacc.yy
parent02cbb3fa80e1c26897a383a09f1ca08918d2347f (diff)
downloadmariadb-git-fef5292a47be904f1cf2ccbef1489a8a10e0cf79.tar.gz
Fix bugs in LEFT JOIN and field=NUL
BUILD/FINISH.sh: Remove all config.cache files BUILD/compile-alpha-debug: Update BUILD/compile-ia64-debug-max: Update Docs/manual.texi: Added auto_increment example sql/sql_select.cc: Fix bugs in LEFT JOIN and field=NULL sql/sql_yacc.yy: Remove compiler warnings
Diffstat (limited to 'sql/sql_yacc.yy')
-rw-r--r--sql/sql_yacc.yy4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_yacc.yy b/sql/sql_yacc.yy
index 5dae9eeb3cb..5096a737b8e 100644
--- a/sql/sql_yacc.yy
+++ b/sql/sql_yacc.yy
@@ -1562,10 +1562,10 @@ simple_expr:
| '{' ident expr '}' { $$= $3; }
| MATCH ident_list_arg AGAINST '(' expr ')'
{ Select->ftfunc_list.push_back((Item_func_match *)
- $$=new Item_func_match_nl(*$2,$5)); }
+ ($$=new Item_func_match_nl(*$2,$5))); }
| MATCH ident_list_arg AGAINST '(' expr IN_SYM BOOLEAN_SYM MODE_SYM ')'
{ Select->ftfunc_list.push_back((Item_func_match *)
- $$=new Item_func_match_bool(*$2,$5)); }
+ ($$=new Item_func_match_bool(*$2,$5))); }
| BINARY expr %prec NEG { $$= new Item_func_binary($2); }
| CASE_SYM opt_expr WHEN_SYM when_list opt_else END
{ $$= new Item_func_case(* $4, $2, $5 ) }