[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mysql-internals
Subject:    Re: Big Problems with mySQL returning incorrect information
From:       Michael Widenius <monty () mysql ! com>
Date:       2001-07-29 0:53:22
[Download RAW message or body]


Hi!

>>>>> "Sinisa" == Sinisa Milivojevic <sinisa@beotel.yu> writes:

Sinisa> Nicholas Gaugler wrote:
>> I have had HUGE problems with mySQL v3.23.39 relating to mySQL returning
>> invalid entries on where statements.  Basic example:
>> 
>> select id from table where statusid = 2;
>> 
>> In the first case, a week or two ago, mySQL decided to return everything
>> that was a 4.

<cut>

Sinisa> This list is devoted to the internal functioning of mysql server.

Sinisa> If you can make a repeatable bug report, forward your mail, together 
Sinisa> with file name of uploaded tables to bugs@lists.mysql.com.

Sinisa was right with asking you to send the email to appreciate
mailing list (in this case mysql@lists.mysql.com), but I thought you
would at least deserve a little more detailed answer.

The above sounds like the MyISAM index somehow got corrupted.
You can verify this by running 'CHECK TABLE table_name'.

Without some more information, I can't say what caused the corruption.
The manual page 'What to do if MySQL keeps crashing' has a lot of
suggestions of what you can do to find out what happened.

With MyISAM tables, you can specify in my.cnf 'myisam_recover', which
will automaticly fix MyISAM tables if mysqld would crash in the middle
of an update.

This is however more a 'last option' that you should use only when you
are sure your system works reliable.  MyISAM tables has proven
themself to be very reliable in MySQL 3.23 and if there are any bugs
in the current code, I would really like to find these!

Regards,
Monty

-- 
For technical support contracts, goto https://order.mysql.com/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Mr. Michael Widenius <monty@mysql.com>
 / /|_/ / // /\ \/ /_/ / /__   MySQL AB, CTO
/_/  /_/\_, /___/\___\_\___/   Helsinki, Finland
       <___/   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 internals-thread1347@lists.mysql.com
To unsubscribe, e-mail <internals-unsubscribe@lists.mysql.com>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic