~drizzle-trunk/drizzle/jenkins-Drizzle-Builder-213

« back to all changes in this revision

Viewing changes to drizzled/cursor.cc

  • Committer: Stewart Smith
  • Date: 2012-02-12 06:45:37 UTC
  • mto: This revision was merged to the branch mainline in revision 2509.
  • Revision ID: stewart@flamingspork.com-20120212064537-ndq263il0mnl1s4d
rename HA_ERR_RBR_LOGGING_FAILED to HA_ERR_LOG_ROW_FOR_REPLICATION_FAILED and move error string over to drizzled/ha_commands.cc rather than plugin/myisam/my_handler_errors.cc as it has nothing to do with MyISAM.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1444
1444
  }
1445
1445
 
1446
1446
  if (unlikely(log_row_for_replication(getTable(), NULL, buf)))
1447
 
    return HA_ERR_RBR_LOGGING_FAILED;
 
1447
    return HA_ERR_LOG_ROW_FOR_REPLICATION_FAILED;
1448
1448
 
1449
1449
  return 0;
1450
1450
}
1490
1490
  }
1491
1491
 
1492
1492
  if (unlikely(log_row_for_replication(getTable(), old_data, new_data)))
1493
 
    return HA_ERR_RBR_LOGGING_FAILED;
 
1493
    return HA_ERR_LOG_ROW_FOR_REPLICATION_FAILED;
1494
1494
 
1495
1495
  return 0;
1496
1496
}
1526
1526
    return error;
1527
1527
 
1528
1528
  if (unlikely(log_row_for_replication(getTable(), buf, NULL)))
1529
 
    return HA_ERR_RBR_LOGGING_FAILED;
 
1529
    return HA_ERR_LOG_ROW_FOR_REPLICATION_FAILED;
1530
1530
 
1531
1531
  return 0;
1532
1532
}