Example #1
0
 public void MergeFrom(Open other)
 {
     if (other == null)
     {
         return;
     }
     if (other.CursorId != 0)
     {
         CursorId = other.CursorId;
     }
     if (other.stmt_ != null)
     {
         if (stmt_ == null)
         {
             stmt_ = new global::Mysqlx.Cursor.Open.Types.OneOfMessage();
         }
         Stmt.MergeFrom(other.Stmt);
     }
     if (other.FetchRows != 0UL)
     {
         FetchRows = other.FetchRows;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }