~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/drizzled.cc

  • Committer: Toru Maesaka
  • Date: 2008-12-14 08:26:38 UTC
  • mto: (670.1.24 devel)
  • mto: This revision was merged to the branch mainline in revision 676.
  • Revision ID: dev@torum.net-20081214082638-c8uje8oiwk4s2dh0
First pass of replacing MySQL's strxmov with libc alternatives

Show diffs side-by-side

added added

removed removed

Lines of Context:
4347
4347
 
4348
4348
static void set_server_version(void)
4349
4349
{
4350
 
  char *end= strxmov(server_version, VERSION,
4351
 
                     DRIZZLE_SERVER_SUFFIX_STR, NULL);
 
4350
  char *end= server_version;
 
4351
  end+= sprintf(server_version, "%s%s", VERSION, 
 
4352
                DRIZZLE_SERVER_SUFFIX_STR);
4352
4353
  if (opt_bin_log)
4353
 
    strcpy(end, "-log");                        // This may slow down system
 
4354
    strcpy(end, "-log"); // This may slow down system
4354
4355
}
4355
4356
 
4356
4357