~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql/sql_yacc.yy

RemovedĀ OLD_PASSWORDS

Show diffs side-by-side

added added

removed removed

Lines of Context:
3806
3806
          { $$= new (YYTHD->mem_root) Item_func_microsecond($3); }
3807
3807
        | MOD_SYM '(' expr ',' expr ')'
3808
3808
          { $$ = new (YYTHD->mem_root) Item_func_mod( $3, $5); }
3809
 
        | OLD_PASSWORD '(' expr ')'
3810
 
          { $$=  new (YYTHD->mem_root) Item_func_old_password($3); }
3811
3809
        | PASSWORD '(' expr ')'
3812
3810
          {
3813
3811
            THD *thd= YYTHD;
3814
3812
            Item* i1;
3815
 
            if (thd->variables.old_passwords)
3816
 
              i1= new (thd->mem_root) Item_func_old_password($3);
3817
 
            else
3818
 
              i1= new (thd->mem_root) Item_func_password($3);
 
3813
            i1= new (thd->mem_root) Item_func_password($3);
3819
3814
            $$= i1;
3820
3815
          }
3821
3816
        | QUARTER_SYM '(' expr ')'