~tsarev/percona-server/replication_slave_different_schema

« back to all changes in this revision

Viewing changes to row_based_replication_without_primary_key.patch

  • Committer: Oleg Tsarev
  • Date: 2010-11-02 00:36:11 UTC
  • mto: This revision was merged to the branch mainline in revision 136.
  • Revision ID: oleg.tsarev@percona.com-20101102003611-brz6hb9l2uaqz4fq
adapt source code

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
diff -ruN a/sql/log_event.cc b/sql/log_event.cc
9
9
--- a/sql/log_event.cc  2010-09-28 20:35:15.076709378 +0400
10
10
+++ b/sql/log_event.cc  2010-09-28 22:08:36.286707581 +0400
11
 
@@ -9168,6 +9168,7 @@
 
11
@@ -9240,6 +9240,7 @@
12
12
 
13
13
   TABLE *table= m_table;
14
14
   int error= 0;
16
16
 
17
17
   /*
18
18
     rpl_row_tabledefs.test specifies that
19
 
@@ -9231,12 +9232,36 @@
 
19
@@ -9303,12 +9304,36 @@
20
20
    */ 
21
21
   store_record(table,record[1]);    
22
22
 
55
55
     {
56
56
       DBUG_PRINT("info",("ha_index_init returns error %d",error));
57
57
       table->file->print_error(error, MYF(0));
58
 
@@ -9246,7 +9271,7 @@
 
58
@@ -9318,7 +9343,7 @@
59
59
     /* Fill key data for the row */
60
60
 
61
61
     DBUG_ASSERT(m_key);