~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/alter_table.cc

  • Committer: Stewart Smith
  • Date: 2011-03-01 10:59:43 UTC
  • mto: (2241.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2242.
  • Revision ID: stewart@flamingspork.com-20110301105943-3j0bha31q868fh4e
throw an error if ONLINE ALTER TABLE is asked for that we cannot do without a copying alter table.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1049
1049
    }
1050
1050
  }
1051
1051
 
 
1052
  // ONLINE
 
1053
  if (alter_info->build_method == HA_BUILD_ONLINE)
 
1054
  {
 
1055
    my_error(*session->getQueryString(), ER_NOT_SUPPORTED_YET);
 
1056
    return true;
 
1057
  }
 
1058
 
1052
1059
  /* We have to do full alter table. */
1053
1060
  new_engine= create_info->db_type;
1054
1061