===== sql/ha_ndbcluster.cc 1.463 vs edited ===== --- 1.463/sql/ha_ndbcluster.cc 2007-06-30 11:46:17 +02:00 +++ edited/sql/ha_ndbcluster.cc 2007-07-05 14:35:30 +02:00 @@ -2767,6 +2767,10 @@ } break; } + if (thd->slave_thread) + { + ERR_RETURN(ndb->getNdbError(899)); + } if (set_hidden_key(op, table_share->fields, (const uchar*)&auto_value)) ERR_RETURN(op->getNdbError()); }