void Connection::copy(const Connection& other) { error_message_.clear(); set_exceptions(other.throw_exceptions()); driver_->copy(*other.driver_); }
Query& Query::operator=(const Query& rhs) { set_exceptions(rhs.throw_exceptions()); set_lock(rhs.locked()); def = rhs.def; conn_ = rhs.conn_; success_ = rhs.success_; return *this; }