~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/slave/replication_slave.cc

  • Committer: Lee Bieber
  • Date: 2011-03-02 18:47:07 UTC
  • mfrom: (2213.2.1 bug720501)
  • mto: This revision was merged to the branch mainline in revision 2215.
  • Revision ID: kalebral@gmail.com-20110302184707-qxf8ei41yg1avfaa
Merge Shrews: 720501: starting slave with relative path or non existant slave.config-file does not error out    

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
    ("applier-thread-sleep", po::value<uint32_t>()->default_value(5));
67
67
 
68
68
  ifstream cf_stream(_config_file.c_str());
 
69
 
 
70
  if (not cf_stream.is_open())
 
71
  {
 
72
    _error= "Unable to open file ";
 
73
    _error.append(_config_file);
 
74
    return false;
 
75
  }
 
76
 
69
77
  po::store(drizzled::program_options::parse_config_file(cf_stream, slave_options), vm);
70
78
 
71
79
  po::notify(vm);