~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/slave/queue_consumer.h

  • Committer: Olaf van der Spek
  • Date: 2011-05-03 21:22:55 UTC
  • mfrom: (2299 drizzle)
  • mto: This revision was merged to the branch mainline in revision 2301.
  • Revision ID: olafvdspek@gmail.com-20110503212255-w0p46mt4zy1jhbc5
Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
  bool getMessage(drizzled::message::Transaction &transaction,
78
78
                  std::string &commit_id,
79
79
                  uint64_t trx_id,
 
80
                  std::string &originating_server_uuid,
 
81
                  uint64_t &originating_commit_id,
80
82
                  uint32_t segment_id);
81
83
 
82
84
  /**
98
100
   *
99
101
   * @param sql Batch of SQL statements to execute.
100
102
   * @param commit_id Commit ID value to store in state table.
 
103
   * @param originating_server_uuid Server ID of the master where
 
104
   *   this SQL was originally applied.
 
105
   * @param originating_commit_id Commit ID of the master where
 
106
   *   this SQL was originally applied.
101
107
   *
102
108
   * @retval true Success
103
109
   * @retval false Failure
104
110
   */
105
111
  bool executeSQLWithCommitId(std::vector<std::string> &sql,
106
 
                              const std::string &commit_id);
 
112
                              const std::string &commit_id,
 
113
                              const std::string &originating_server_uuid,
 
114
                              uint64_t originating_commit_id);
107
115
  
108
116
  /**
109
117
   * Remove messages for a given transaction from the queue.