~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_redel.cc

  • Committer: Eric Herman
  • Date: 2008-12-06 22:37:37 UTC
  • mfrom: (656.1.6 devel)
  • mto: (656.1.8 devel)
  • mto: This revision was merged to the branch mainline in revision 665.
  • Revision ID: eric@mysql.com-20081206223737-viem01l5uhm0w14r
mergedĀ fromĀ lp:drizzle/mordred

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
    char ext[20];
52
52
    ext[0]='-';
53
53
    get_date(ext+1,2+4,(time_t) 0);
54
 
    my_stpcpy(strchr(ext, '\0'),REDEL_EXT);
 
54
    strcpy(strchr(ext, '\0'),REDEL_EXT);
55
55
    if (my_rename(org_name, fn_format(name_buff, org_name, "", ext, 2),
56
56
                  MyFlags))
57
57
      goto end;