~brianaker/drizzle/798940

« back to all changes in this revision

Viewing changes to drizzled/sql_yacc.yy

  • Committer: Brian Aker
  • Date: 2011-07-14 22:12:02 UTC
  • Revision ID: brian@tangent.org-20110714221202-9ov19jp0tmhiovqk
Fixes bug where true/false would not be interpreted correctly/displayed correctly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2999
2999
            }
3000
3000
          }
3001
3001
        | IF '(' expr ',' expr ',' expr ')'
3002
 
          { $$= new (YYSession->mem_root) Item_func_if($3,$5,$7); }
 
3002
          { 
 
3003
            $$= new (YYSession->mem_root) Item_func_if($3,$5,$7);
 
3004
          }
3003
3005
        | KILL_SYM kill_option '(' expr ')'
3004
3006
          {
3005
3007
            List<Item> *args= new (YYSession->mem_root) List<Item>;