~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/slave/replication_schema.cc

  • Committer: David Shrewsbury
  • Date: 2011-10-16 22:03:09 UTC
  • mto: This revision was merged to the branch mainline in revision 2441.
  • Revision ID: shrewsbury.dave@gmail.com-20111016220309-d86mgv6ii41luh9b
Add master_id back to PK of sys_replication.queue table.

Show diffs side-by-side

added added

removed removed

Lines of Context:
106
106
                " `originating_commit_id` BIGINT NOT NULL,"
107
107
                " `msg` BLOB,"
108
108
                " `master_id` BIGINT NOT NULL,"
109
 
                " PRIMARY KEY(`trx_id`, `seg_id`))"
 
109
                " PRIMARY KEY(`master_id`, `trx_id`, `seg_id`))"
110
110
                " COMMENT = 'VERSION 1.2'");
111
111
  if (not executeSQL(sql))
112
112
    return false;