[oden@oe mysql-5.0.24]$ patch -p1 < ../mysql-4.1.12-CVE-2006-4031.patch patching file sql/set_var.cc Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file sql/set_var.cc.rej patching file sql/mysql_priv.h Hunk #1 FAILED at 968. 1 out of 1 hunk FAILED -- saving rejects to file sql/mysql_priv.h.rej patching file sql/handler.cc Hunk #1 FAILED at 73. 1 out of 1 hunk FAILED -- saving rejects to file sql/handler.cc.rej patching file sql/mysqld.cc Hunk #1 FAILED at 285. Hunk #2 FAILED at 395. Hunk #3 FAILED at 4189. Hunk #4 FAILED at 4540. Hunk #5 FAILED at 6287. 5 out of 5 hunks FAILED -- saving rejects to file sql/mysqld.cc.rej patching file mysql-test/r/warnings.result Hunk #1 succeeded at 180 (offset 11 lines). patching file mysql-test/t/warnings.test Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file mysql-test/t/warnings.test.rej patching file mysql-test/t/warnings-master.opt Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file mysql-test/t/warnings-master.opt.rej