mirror of
https://github.com/MariaDB/server.git
synced 2026-05-04 14:15:33 +02:00
Merge bodhi.local:/opt/local/work/mysql-5.0-root
into bodhi.local:/opt/local/work/mysql-5.0-runtime sql/ha_ndbcluster.cc: Auto merged sql/item.cc: Auto merged sql/mysql_priv.h: Auto merged sql/sql_parse.cc: Auto merged sql/sql_table.cc: Auto merged sql/sql_yacc.yy: Auto merged sql/sql_update.cc: Manual merge.
This commit is contained in:
commit
f5340f8c7d
33 changed files with 1129 additions and 99 deletions
|
|
@ -4453,7 +4453,10 @@ simple_expr:
|
|||
Lex->safe_to_cache_query=0;
|
||||
}
|
||||
| CURRENT_USER optional_braces
|
||||
{ $$= create_func_current_user(); }
|
||||
{
|
||||
$$= new Item_func_current_user(Lex->current_context());
|
||||
Lex->safe_to_cache_query= 0;
|
||||
}
|
||||
| DATE_ADD_INTERVAL '(' expr ',' interval_expr interval ')'
|
||||
{ $$= new Item_date_add_interval($3,$5,$6,0); }
|
||||
| DATE_SUB_INTERVAL '(' expr ',' interval_expr interval ')'
|
||||
|
|
@ -4810,7 +4813,7 @@ simple_expr:
|
|||
| UNIX_TIMESTAMP '(' expr ')'
|
||||
{ $$= new Item_func_unix_timestamp($3); }
|
||||
| USER '(' ')'
|
||||
{ $$= new Item_func_user(FALSE); Lex->safe_to_cache_query=0; }
|
||||
{ $$= new Item_func_user(); Lex->safe_to_cache_query=0; }
|
||||
| UTC_DATE_SYM optional_braces
|
||||
{ $$= new Item_func_curdate_utc(); Lex->safe_to_cache_query=0;}
|
||||
| UTC_TIME_SYM optional_braces
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue