~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_yacc.yy

  • Committer: Brian Aker
  • Date: 2010-05-13 07:52:42 UTC
  • mfrom: (1527.1.4 staging)
  • Revision ID: brian@gaz-20100513075242-gyzfi5c4nb9x4919
Merge of TableShare keynames typelib removal.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1229
1229
 
1230
1230
            protoengine->set_name($3.str);
1231
1231
          }
1232
 
        | BLOCK_SIZE_SYM opt_equal ulong_num
1233
 
          {
1234
 
            message::Table::TableOptions *tableopts;
1235
 
            statement::CreateTable *statement= (statement::CreateTable *)Lex->statement;
1236
 
            tableopts= ((statement::CreateTable *)Lex->statement)->create_table_message.mutable_options();
1237
 
 
1238
 
            tableopts->set_block_size($3);
1239
 
            statement->create_info.used_fields|= HA_CREATE_USED_BLOCK_SIZE;
1240
 
          }
1241
1232
        | COMMENT_SYM opt_equal TEXT_STRING_sys
1242
1233
          {
1243
1234
            message::Table::TableOptions *tableopts;
1293
1284
            }
1294
1285
          }
1295
1286
        | default_collation
1296
 
        | KEY_BLOCK_SIZE opt_equal ulong_num
1297
 
          {
1298
 
            statement::CreateTable *statement= (statement::CreateTable *)Lex->statement;
1299
 
 
1300
 
            statement->create_info.used_fields|= HA_CREATE_USED_KEY_BLOCK_SIZE;
1301
 
 
1302
 
            message::Table::TableOptions *tableopts;
1303
 
            tableopts= ((statement::CreateTable *)Lex->statement)->create_table_message.mutable_options();
1304
 
            tableopts->set_key_block_size($3);
1305
 
          }
1306
1287
        ;
1307
1288
 
1308
1289
default_collation: