echo '*** recreate log corruption bug for mysql' > /root/createbuglist echo '*** run g21a to stop master mysqld if necessary' >> /root/createbuglist # ./g21a echo '*** run g24ia first to delete /var/lib/mysql' >> /root/createbuglist # ./g24ia echo '*** then use gnorpm to install 4.0.16-0 of mysql with the following' >> /root/createbuglist echo '*** components : server, embedded, devel, client, bendh, shared-compat' >> /root/createbuglist rm -f /root/createbuglist touch /root/createbuglist echo '**** get master log position for replication slave ' >> /root/createbuglist ./m35a echo '**** stop master ' >> /root/createbuglist ./g21a echo '**** stop slave if necessary ' >> /root/createbuglist ./g21sa echo '**** create replication slave ' >> /root/createbuglist ./g24a echo '**** start replication slave ' >> /root/createbuglist ./g20sa echo '**** start master ' >> /root/createbuglist ./g20a echo '**** start replication process' >> /root/createbuglist ./m36a echo '**** run sql commands at master to create tables' >> /root/createbuglist ./runsql echo '**** restart master mysqld' >> /root/createbuglist ./g20a echo '**** master mysqld bug created' >> /root/createbuglist ./l2a more /root/createbuglist