~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/drizzled.cc

  • Committer: Monty Taylor
  • Date: 2008-12-07 20:19:03 UTC
  • mto: This revision was merged to the branch mainline in revision 670.
  • Revision ID: monty@inaugust.com-20081207201903-jfrhv8afqf8bew6f
Removed my_strdup from drizzled/

Show diffs side-by-side

added added

removed removed

Lines of Context:
2010
2010
  if ((sys_init_connect.value= opt_init_connect))
2011
2011
    sys_init_connect.value_length= strlen(opt_init_connect);
2012
2012
  else
2013
 
    sys_init_connect.value=my_strdup("",MYF(0));
 
2013
    sys_init_connect.value=strdup("");
2014
2014
 
2015
2015
  sys_init_slave.value_length= 0;
2016
2016
  if ((sys_init_slave.value= opt_init_slave))
2017
2017
    sys_init_slave.value_length= strlen(opt_init_slave);
2018
2018
  else
2019
 
    sys_init_slave.value=my_strdup("",MYF(0));
 
2019
    sys_init_slave.value=strdup("");
2020
2020
 
2021
2021
  if (use_temp_pool && bitmap_init(&temp_pool,0,1024,1))
2022
2022
    return 1;
2151
2151
    if (ln == buf)
2152
2152
    {
2153
2153
      free(opt_bin_logname);
2154
 
      opt_bin_logname=my_strdup(buf, MYF(0));
 
2154
      opt_bin_logname=strdup(buf);
2155
2155
    }
2156
2156
    if (drizzle_bin_log.open_index_file(opt_binlog_index_name, ln))
2157
2157
    {
4390
4390
    exit(1);
4391
4391
  if (!slave_load_tmpdir)
4392
4392
  {
4393
 
    if (!(slave_load_tmpdir = (char*) my_strdup(drizzle_tmpdir, MYF(MY_FAE))))
 
4393
    if (!(slave_load_tmpdir = (char*) strdup(drizzle_tmpdir)))
4394
4394
      exit(1);
4395
4395
  }
4396
4396
  /*
4401
4401
  {
4402
4402
    convert_dirname(buff, opt_secure_file_priv, NULL);
4403
4403
    free(opt_secure_file_priv);
4404
 
    opt_secure_file_priv= my_strdup(buff, MYF(MY_FAE));
 
4404
    opt_secure_file_priv= strdup(buff);
4405
4405
  }
4406
4406
}
4407
4407