~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/sql_table.cc

Standardized TRUE/FALSE, removed/replaced DBUG symbols

Show diffs side-by-side

added added

removed removed

Lines of Context:
3931
3931
 
3932
3932
  strxmov(src_path, src_table->table->s->path.str, reg_ext, NullS);
3933
3933
 
3934
 
  DBUG_EXECUTE_IF("sleep_create_like_before_check_if_exists", my_sleep(6000000););
3935
 
 
3936
3934
  /* 
3937
3935
    Check that destination tables does not exist. Note that its name
3938
3936
    was already checked when it was added to the table list.
3956
3954
      goto table_exists;
3957
3955
  }
3958
3956
 
3959
 
  DBUG_EXECUTE_IF("sleep_create_like_before_copy", my_sleep(6000000););
3960
 
 
3961
3957
  /*
3962
3958
    Create a new table by copying from source table
3963
3959
 
3995
3991
    creation, instead create the table directly (for both normal
3996
3992
    and temporary tables).
3997
3993
  */
3998
 
  DBUG_EXECUTE_IF("sleep_create_like_before_ha_create", my_sleep(6000000););
3999
 
 
4000
3994
  dst_path[dst_path_length - reg_ext_length]= '\0';  // Remove .frm
4001
3995
  if (thd->variables.keep_files_on_create)
4002
3996
    create_info->options|= HA_CREATE_KEEP_FILES;
4020
4014
    goto err;       /* purecov: inspected */
4021
4015
  }
4022
4016
 
4023
 
  DBUG_EXECUTE_IF("sleep_create_like_before_binlogging", my_sleep(6000000););
4024
 
 
4025
4017
  /*
4026
4018
    We have to write the query before we unlock the tables.
4027
4019
  */