~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql/sql_yacc.yy

  • Committer: Brian Aker
  • Date: 2008-07-06 03:24:37 UTC
  • Revision ID: brian@tangent.org-20080706032437-gfnpob6l1tjccisl
First pass for removing mediumint (3 byte INT type).

Show diffs side-by-side

added added

removed removed

Lines of Context:
674
674
%token  MAX_USER_CONNECTIONS_SYM
675
675
%token  MAX_VALUE_SYM                 /* SQL-2003-N */
676
676
%token  MEDIUMBLOB
677
 
%token  MEDIUMINT
678
677
%token  MEDIUMTEXT
679
678
%token  MEDIUM_SYM
680
679
%token  MEMORY_SYM
2023
2022
          INT_SYM   { $$=MYSQL_TYPE_LONG; }
2024
2023
        | TINYINT   { $$=MYSQL_TYPE_TINY; }
2025
2024
        | SMALLINT  { $$=MYSQL_TYPE_SHORT; }
2026
 
        | MEDIUMINT { $$=MYSQL_TYPE_INT24; }
2027
2025
        | BIGINT    { $$=MYSQL_TYPE_LONGLONG; }
2028
2026
        ;
2029
2027