~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/slave/queue_consumer.cc

  • Committer: Monty Taylor
  • Date: 2011-03-10 21:39:42 UTC
  • mfrom: (2228.1.3 build)
  • Revision ID: mordred@inaugust.com-20110310213942-empexe7mfa2q437w
Merge Joe and Dave: Replication bug fixes.

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);