~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_yacc.yy

  • Committer: Brian Aker
  • Date: 2010-12-24 07:53:15 UTC
  • mfrom: (2024.1.3 clean)
  • Revision ID: brian@tangent.org-20101224075315-qiwlw4rc1bwx1p2m
MergeĀ inĀ CAST.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3629
3629
cast_type:
3630
3630
          BINARY opt_len
3631
3631
          { $$=ITEM_CAST_CHAR; Lex->charset= &my_charset_bin; Lex->dec= 0; }
 
3632
        | SIGNED_SYM
 
3633
          { $$=ITEM_CAST_SIGNED; Lex->charset= NULL; Lex->dec=Lex->length= (char*)0; }
 
3634
        | SIGNED_SYM INT_SYM
 
3635
          { $$=ITEM_CAST_SIGNED; Lex->charset= NULL; Lex->dec=Lex->length= (char*)0; }
 
3636
        | UNSIGNED_SYM
 
3637
          { $$=ITEM_CAST_UNSIGNED; Lex->charset= NULL; Lex->dec=Lex->length= (char*)0; }
 
3638
        | UNSIGNED_SYM INT_SYM
 
3639
          { $$=ITEM_CAST_UNSIGNED; Lex->charset= NULL; Lex->dec=Lex->length= (char*)0; }
3632
3640
        | CHAR_SYM opt_len
3633
3641
          { $$=ITEM_CAST_CHAR; Lex->dec= 0; }
3634
3642
        | DATE_SYM