| Bug #17007 | sum crashes MySQL | ||
|---|---|---|---|
| Submitted: | 1 Feb 2006 14:56 | Modified: | 3 Feb 2006 13:58 |
| Reporter: | Juergen Weiss | Email Updates: | |
| Status: | Can't repeat | Impact on me: | |
| Category: | MySQL Server | Severity: | S1 (Critical) |
| Version: | 5.0.18-nt | OS: | Windows (windows2003 web edition) |
| Assigned to: | CPU Architecture: | Any | |
[1 Feb 2006 14:56]
Juergen Weiss
[1 Feb 2006 15:11]
MySQL Verification Team
I was unable to repeat having the tables empty. Could you please provide a dump file for to insert the data. Thanks in advance.
[1 Feb 2006 15:25]
Juergen Weiss
tp_termine part1
Attachment: tp_termine_1.sql.zip (application/x-zip-compressed, text), 153.86 KiB.
[1 Feb 2006 15:26]
Juergen Weiss
tp_termine part2
Attachment: tp_termine_2.sql.zip (application/x-zip-compressed, text), 167.10 KiB.
[1 Feb 2006 15:26]
Juergen Weiss
tp_termine part3
Attachment: tp_termine_3.sql.zip (application/x-zip-compressed, text), 159.53 KiB.
[1 Feb 2006 15:26]
Juergen Weiss
tp_termine part4
Attachment: tp_termine_4.sql.zip (application/x-zip-compressed, text), 183.57 KiB.
[2 Feb 2006 11:03]
Juergen Weiss
I submitted the requested dumps. Do you need more Information? Hope you can now repeat the error.
[3 Feb 2006 13:58]
MySQL Verification Team
I was unable to repeat the crash on Windows 2003/XP querying the server with
the mysql client tool and with the ODBC test tool. Are you able to repeat doing
the restore of your own dump file on a fresh MySQL server install?
Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.
D:\Documents and Settings\miguel>c:
C:\>cd\mysql\bin
C:\mysql\bin>mysql -uroot db1
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1 to server version: 5.0.18-nt
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> select projekt, sum(bis-von) as gesamtstunden, art from tp_termine inner join
-> tp_projekte on tp_termine.projektid=tp_projekte.projektid group by projekt,art
-> order by projekt,art;
<cut>
| Zeller - Bad | 518 | NA |
| Zerbe, Sch├╢neberg | 22 | NA |
| ZZZ DBH - F - Ketten | 248 | NA |
| ZZZ DBH - H - Ketten | 358 | NA |
| ZZZ DBH - S - Ketten | 80 | NA |
| ZZZ Winker Bauträge | 452 | NA |
| ZZZ Wohnbau TUT | 588 | NA |
+----------------------+---------------+------+
1242 rows in set (0.77 sec)
-----------------------------------------------------------------------------------
Full Connect(Default)
Env. Attr. SQL_ATTR_ODBC_VERSION set to SQL_OV_ODBC3
Successfully connected to DSN 'proj'.
SQLExecDirect:
In: hstmt = 0x00911938,
szSqlStr = "select projekt, sum(bis-von) as gesamtstunden, art fro...", cbSqlStr = -3
Return: SQL_SUCCESS=0
"ZZZ DBH - H - Ketten", 358, "NA"
"ZZZ DBH - S - Ketten", 80, "NA"
"ZZZ Winker Bauträge", 452, "NA"
"ZZZ Wohnbau TUT", 588, "NA"
1242 rows fetched from 3 columns.
