~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_table.cc

  • Committer: Stewart Smith
  • Date: 2008-11-19 19:49:27 UTC
  • mto: This revision was merged to the branch mainline in revision 593.
  • Revision ID: stewart@flamingspork.com-20081119194927-u5eyq0p8why2y6v7
remove frm_only create_info option

Show diffs side-by-side

added added

removed removed

Lines of Context:
1913
1913
    /* Open table and put in temporary table list */
1914
1914
    if (!(open_temporary_table(session, path, db, table_name, 1, OTM_OPEN)))
1915
1915
    {
1916
 
      (void) rm_temporary_table(create_info->db_type, path, false);
 
1916
      (void) rm_temporary_table(create_info->db_type, path);
1917
1917
      goto unlock_and_end;
1918
1918
    }
1919
1919
    session->thread_specific_used= true;
3045
3045
                                     OTM_OPEN))
3046
3046
    {
3047
3047
      (void) rm_temporary_table(create_info->db_type,
3048
 
                                dst_path, false); /* purecov: inspected */
 
3048
                                dst_path);
3049
3049
      goto err;     /* purecov: inspected */
3050
3050
    }
3051
3051
  }
3745
3745
 
3746
3746
  /*
3747
3747
    Create a table with a temporary name.
3748
 
    With create_info->frm_only == 1 this creates a .frm file only.
3749
3748
    We don't log the statement, it will be logged later.
3750
3749
  */
3751
3750
  tmp_disable_binlog(session);
3795
3794
  if (lower_case_table_names)
3796
3795
    my_casedn_str(files_charset_info, tmp_name);
3797
3796
  altered_create_info.options&= ~HA_LEX_CREATE_TMP_TABLE;
3798
 
  altered_create_info.frm_only= 1;
 
3797
 
3799
3798
  if ((error= create_temporary_table(session, table, new_db, tmp_name,
3800
3799
                                     &altered_create_info,
3801
3800
                                     alter_info, db_change)))