~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/slave/queue_consumer.cc

  • Committer: Joseph Daly
  • Date: 2011-03-09 18:42:14 UTC
  • mto: (2228.1.3 build)
  • mto: This revision was merged to the branch mainline in revision 2229.
  • Revision ID: skinny.moey@gmail.com-20110309184214-m73m09gp7m12bfi3
bug 731738 need to check that commit_order is greater then 0 this is needed for multi part messages

Show diffs side-by-side

added added

removed removed

Lines of Context:
179
179
  Execute execute(*(_session.get()), true);
180
180
  
181
181
  string sql("SELECT `trx_id` FROM `sys_replication`.`queue`"
182
 
             " WHERE `commit_order` IS NOT NULL ORDER BY `commit_order` ASC");
 
182
             " WHERE `commit_order` IS NOT NULL AND `commit_order` > 0"
 
183
             " ORDER BY `commit_order` ASC");
183
184
  
184
185
  /* ResultSet size must match column count */
185
186
  sql::ResultSet result_set(1);