~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_yacc.yy

  • Committer: Stewart Smith
  • Date: 2008-11-15 17:33:00 UTC
  • mto: This revision was merged to the branch mainline in revision 593.
  • Revision ID: stewart@flamingspork.com-20081115173300-ged6lav03y022fpz
begin moving from global const char* primary_key_name to methods is_primary_key() and is_primary_key_name()

in future: primary_key_nr in table def and IS_PRIMARY flag in KEY
(should make writing table definition easier)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2441
2441
          {
2442
2442
            LEX *lex=Lex;
2443
2443
            lex->alter_info.drop_list.push_back(new Alter_drop(Alter_drop::KEY,
2444
 
                                                               primary_key_name));
 
2444
                                                               "PRIMARY"));
2445
2445
            lex->alter_info.flags|= ALTER_DROP_INDEX;
2446
2446
          }
2447
2447
        | DROP key_or_index field_ident