List:General Discussion« Previous MessageNext Message »
From:Jani Tolonen Date:October 4 1999 10:49am
Subject:Problem doing SELECTs with date fields
View as plain text  
Terry Brown writes:
 > Hi All,
 > 
 > This is a bizarre one and I'm very confused so I thought the list may be 
 > able to help.
 > 
 > I've been running mysql 3.22.25 for some time now without any problems but 
 > last week, decided to upgrade some of our system software so I downloaded 
 > mysql (3.22.26) along with all of our the latest gnu software (fileutils, 
 > findutils, .... all of the general packages + gcc 2.95.1 (we were running 
 > 2.95)).
 > 
 > After the upgrade, I can retrieve lines from the database with dates in but 
 > if I ask for something on a specific date (e.g. '1999-10-20') I get a core 
 > dump and lose the connection to the database.
 > 
 > I can see the core file in /usr/local/var but have no idea how to analyse 
 > it to see what went wrong (I'm only a baby sys-admin!).  I have since tried 
 > downgrading to 3.22.25 but the same problem persists so I'm wondering if 
 > it's been one of the gnu distributions that's messed it up?
 > 
 > Rather than overloading people now with every piece of information I have, 
 > could people give me some idea as to what they would need to know before I 
 > can get round to solving the problem?
 > 
 > Many thanks,
 > Terry

Hi Terry,

First, please check your tables with isamchk.

If the tables are ok and you still get core dumps, please configure
MySQL with --with-debug, start mysqld with options --debug and --log
and include the output from both the log file and trace file when the
core dump happens.

You can find more information about debugging under section
'Debugging a MySQL server' from the manual.

Regards,

- Jani

-- 
+-------------------------------------------------------------+
| TcX  ____  __     _____   _____  ___                        |
|     /*/\*\/\*\   /*/ \*\ /*/ \*\ |*|       Jani Tolonen     |
|    /*/ /*/ /*/   \*\_   |*|   |*||*|       jani@stripped   |
|   /*/ /*/ /*/\*\/*/  \*\|*|   |*||*|       Helsinki         |
|  /*/     /*/  /*/\*\_/*/ \*\_/*/ |*|_____  Finland          |
|  ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^                   |
|             /*/             \*\            Developers Team  |
+-------------------------------------------------------------+
Thread
benchmarkalmir kazazic4 Oct
  • Re: benchmarkLuuk de Boer4 Oct
  • Re: benchmarkMartin Ramsch5 Oct
  • Re: benchmarkMartin Ramsch5 Oct
Re: benchmarkalmir kazazic4 Oct
  • Re: benchmarkLuuk de Boer4 Oct
  • Problem doing SELECTs with date fieldsTerry Brown4 Oct
    • Problem doing SELECTs with date fieldsJani Tolonen4 Oct
      • Re: Problem doing SELECTs with date fieldsTerry Brown6 Oct
        • Re: Problem doing SELECTs with date fieldsMichael Widenius7 Oct