~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_yacc.yy

  • Committer: Harrison Fisk
  • Date: 2008-08-05 05:01:04 UTC
  • mto: (261.1.8 drizzle)
  • mto: This revision was merged to the branch mainline in revision 264.
  • Revision ID: harrison@mysql.com-20080805050104-bz1tt53bp1dg996e
Port Ebay/Google memory storage engine variable width columns.  

See: http://code.google.com/p/mysql-heap-dynamic-rows/

Show diffs side-by-side

added added

removed removed

Lines of Context:
419
419
%token  BIT_SYM                       /* MYSQL-FUNC */
420
420
%token  BIT_XOR                       /* MYSQL-FUNC */
421
421
%token  BLOB_SYM                      /* SQL-2003-R */
 
422
%token  BLOCK_SIZE_SYM
422
423
%token  BLOCK_SYM
423
424
%token  BOOLEAN_SYM                   /* SQL-2003-R */
424
425
%token  BOOL_SYM
1506
1507
            Lex->create_info.avg_row_length=$3;
1507
1508
            Lex->create_info.used_fields|= HA_CREATE_USED_AVG_ROW_LENGTH;
1508
1509
          }
 
1510
        | BLOCK_SIZE_SYM opt_equal ulong_num    
 
1511
          { 
 
1512
            Lex->create_info.block_size= $3; 
 
1513
            Lex->create_info.used_fields|= HA_CREATE_USED_BLOCK_SIZE;
 
1514
          }
1509
1515
        | COMMENT_SYM opt_equal TEXT_STRING_sys
1510
1516
          {
1511
1517
            Lex->create_info.comment=$3;
6395
6401
        | AVG_SYM                  {}
6396
6402
        | BINLOG_SYM               {}
6397
6403
        | BIT_SYM                  {}
 
6404
        | BLOCK_SIZE_SYM           {}
6398
6405
        | BLOCK_SYM                {}
6399
6406
        | BOOL_SYM                 {}
6400
6407
        | BOOLEAN_SYM              {}