~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/create_index.cc

  • Committer: Brian Aker
  • Date: 2009-09-22 22:45:50 UTC
  • mto: This revision was merged to the branch mainline in revision 1135.
  • Revision ID: brian@gaz-20090922224550-nojqc0egzo9bqezk
Have CreateIndex inherit from CreateTable

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
    only add indexes and create these one by one for the existing
38
38
    table without having to do a full rebuild.
39
39
  */
40
 
  /* Prepare stack copies to be re-execution safe */
41
 
  HA_CREATE_INFO create_info;
42
40
 
43
41
  assert(first_table == all_tables && first_table != 0);
44
42
  if (! session->endActiveTransaction())
46
44
    return true;
47
45
  }
48
46
 
49
 
  memset(&create_info, 0, sizeof(create_info));
50
 
  create_info.db_type= 0;
51
47
  create_info.row_type= ROW_TYPE_NOT_USED;
52
48
  create_info.default_table_charset= get_default_db_collation(session->db);
53
49