3 messages in com.mysql.lists.win32Re: Fatal error in ORDER BY crashes W...| From | Sent On | Attachments |
|---|---|---|
| Philip Brown | 23 Mar 2000 04:33 | |
| C. Javier Castro Peña | 23 Mar 2000 09:59 | |
| sin...@mysql.com | 24 Mar 2000 05:08 |
| Subject: | Re: Fatal error in ORDER BY crashes Win32 3.22.33![]() |
|---|---|
| From: | C. Javier Castro Peña (jcas...@iname.com) |
| Date: | 03/23/2000 09:59:40 AM |
| List: | com.mysql.lists.win32 |
I have been having a very similar problem, and it still occurs randomly. A partial solution was to redefine all tables. I had to make many modifications in different fields, including the key columns, and the problem seemed to disappear. But I am really not sure what was the cause and what the solution.
Philip Brown wrote:
Platform: Reproduced on Windows 2000 single cpu and Windows NT4SP5 dual processor MySQL version: 3.22.33 crashes, 3.22.32 OK and 3.23.13a also OK Behaviour: Using ORDER BY causes server to crash on mysql 3.22.33 on tables with more than one row.
The following script shows the problem:
create table test (id integer primary key, name char(40)); insert into test values (1, 'A'); insert into test values (2, 'B'); select * from test; select * from test order by id;
The first query succeeds, the second crashes the server. This is new behaviour introduced with 3.22.33 as far as I can determine. A table with fewer than 2 rows does not show the problem.
Copy of C:/my.cnf:
# The MySQL server [mysqld] port=3306 #socket=MySQL skip-locking skip-grant-tables set-variable = key_buffer=16M set-variable = max_allowed_packet=1M set-variable = thread_stack=128K set-variable = flush_time=1800 set-variable = tmp_table_size=128M
# Uncomment the following row if you move the MySQL distribution to another # location basedir = h:/progra~1/mysql/ datadir = i:/transact/database
--------------------------------------------------------------------- Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before posting. To request this thread, e-mail win3...@lists.mysql.com
To unsubscribe, send a message to the address shown in the List-Unsubscribe header of this message. If you cannot see it, e-mail win3...@lists.mysql.com instead.
________________________________________________________ 1stUp.com - Free the Web® Get your free Internet access at http://www.1stUp.com




