Leeuw van der, Tim writes: > Hello, > > I noticed a bug today in multi-table delete which corrupts my tables and > indices. In the 4.0.2 changelog in the online-manual I saw a reference to a > bugfix for multi-table deletes, but since I can't yet download a binary of > 4.0.2 for windows I can't yet check if this is the fix for 'my' bug. > > I haven't yet made a comprehensive testcase for the bug, but here's the > query: > > DELETE document_headers FROM document_headers, document_contents > WHERE document_headers.did = document_contents.did > AND document_headers.dcid = document_contents.dcid > AND document_contents.did = %(did)s > AND document_contents.version = %(version)s > > > The error is: > > ERROR 1034: Incorrect key file for table: 'document_headers'. Try to repair > it
Hi! Are you using 4.0.1 ??? If that is so, then the above bug was fixed and will appear in 4.0.2. 4.0.2 should be release in two weeks. -- Regards, __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic <[EMAIL PROTECTED]> / /|_/ / // /\ \/ /_/ / /__ MySQL AB, Fulltime Developer /_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus <___/ www.mysql.com --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php