~teemu-ollakka/galera/lp1189526

« back to all changes in this revision

Viewing changes to galera/src/gcs.hpp

  • Committer: Alexey Yurchenko
  • Date: 2012-12-28 06:40:32 UTC
  • Revision ID: alexey.yurchenko@codership.com-20121228064032-lvs97u0lywxidwfm
References lp:1093054 - synced with SVN r2922: support for lp:1094182 in a v23-compatible way

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
        ssize_t connect(const std::string& cluster_name,
77
77
                        const std::string& cluster_url)
78
78
        {
79
 
            return gcs_open(conn_, cluster_name.c_str(), cluster_url.c_str());
 
79
            if (cluster_url != "bootstrap")
 
80
                return gcs_open(conn_,cluster_name.c_str(),cluster_url.c_str());
 
81
            else
 
82
                return gcs_open(conn_,cluster_name.c_str(),"gcomm://");
80
83
        }
81
84
 
82
85
        ssize_t set_initial_position(const wsrep_uuid_t& uuid,