Dear sirs,

I have a situation on my local Windows development platform that is causing
the mysql daemon to shut down. I cannot recreate the problem on the web
server, which is Linux.

The error message (on Windows) is:

MYSQLD-OPT caused an invalid page fault in
module MYSQLD-OPT.EXE at 017f:00460912.
Registers:
EAX=00000000 CS=017f EIP=00460912 EFLGS=00010206
EBX=018bf5fc SS=0187 ESP=018bf578 EBP=00000003
ECX=00000003 DS=0187 ESI=00000000 FS=5527
EDX=00000003 ES=0187 EDI=018bf60f GS=0000
Bytes at CS:EIP:
f3 a4 01 6b 04 5f 5e 5d 33 c0 5b c2 08 00 53 55
Stack dump:
00a1c189 018bf5fc 00000000 00a1c162 00420801 00000000 00000003 00000000
01446c20 00000000 00a1c9a4 00a1c1bc bff7b9c5 00a1c18c 00000028 004be901

The query that seems to be 'tender' is:

    SELECT advert_id, uid, uname, teaser, bodytext,
      DATE_FORMAT(upload_date, '%d %b %y'), cat_id,
      DATE_FORMAT(expiry_date, '%d %b %y'), expiry_flag
      FROM mod_adverts
      WHERE cat_id = $cat_id
      AND expiry_flag = 0
      OR cat_id = $cat_id
        AND expiry_flag = 1
        AND expiry_date > 'datetime(now())'
      ORDER BY advert_id DESC

Now for details of my setup:

Hardware: CyrixInstead Cyrix MII (266Mhz) 80Mb RAM
OS: Microsoft Windows 98 Series II 4.10.2222 A
Web Server: Apache 1.3.20 (Win32) PHP/4.0.6
MySQL: WinMySQLAdmin Ver 1.3

If it is my SQL query that is not quite right, I would have thought that I
would have received a different kind of error message - one that doesn't
choke the server?

Any help with this would be most welcome.

Yours sincerely


Richard Prangnell

www.praggers.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

Reply via email to