[debian-mysql] Bug#502554: mysql-server-5.0: SELECT DISTINCT fails with "ERROR 2013 (HY000): Lost connection"

Xypron xypron.debian at gmx.de
Fri Oct 17 19:46:46 UTC 2008


Package: mysql-server-5.0
Version: 5.0.32-7etch6
Severity: normal



-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: arm (armv5tel)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-ixp4xx
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages mysql-server-5.0 depends on:
ii  adduser                3.102             Add and remove users and groups
ii  debconf [debconf-2.0]  1.5.11etch2       Debian configuration management sy
ii  libc6                  2.3.6.ds1-13etch7 GNU C Library: Shared libraries
ii  libdbi-perl            1.53-1etch1       Perl5 database interface by Tim Bu
ii  libgcc1                1:4.1.1-21        GCC support library
ii  libmysqlclient15off    5.0.32-7etch6     mysql database client library
ii  libncurses5            5.5-5             Shared libraries for terminal hand
ii  libreadline5           5.2-2             GNU readline and history libraries
ii  libstdc++6             4.1.1-21          The GNU Standard C++ Library v3
ii  libwrap0               7.6.dbs-13        Wietse Venema's TCP wrappers libra
ii  lsb-base               3.1-23.2etch1     Linux Standard Base 3.1 init scrip
ii  mysql-client-5.0       5.0.32-7etch6     mysql database client binaries
ii  mysql-common           5.0.32-7etch6     mysql database common files (e.g. 
ii  passwd                 1:4.0.18.1-7      change and administer password and
ii  perl                   5.8.8-7etch3      Larry Wall's Practical Extraction 
ii  psmisc                 22.3-1            Utilities that use the proc filesy
ii  zlib1g                 1:1.2.3-13        compression library - runtime

Versions of packages mysql-server-5.0 recommends:
pn  mailx                         <none>     (no description available)

-- debconf information:
  mysql-server-5.0/really_downgrade: false
  mysql-server-5.0/need_sarge_compat: false
  mysql-server-5.0/start_on_boot: true
  mysql-server/error_setting_password:
  mysql-server-5.0/nis_warning:
  mysql-server-5.0/postrm_remove_databases: false
  mysql-server-5.0/need_sarge_compat_done: true



The following statement fails:
mysql> select distinct successor from setupmatrix;
ERROR 2013 (HY000): Lost connection to MySQL server during query

mysql> describe setupmatrix;
+-------------+--------------+------+-----+---------+-------+
| Field       | Type         | Null | Key | Default | Extra |
+-------------+--------------+------+-----+---------+-------+
| SIMSESSION  | varchar(22)  | NO   | PRI |         |       |
| MATRIX      | varchar(40)  | NO   | PRI |         |       |
| PREDECESSOR | varchar(40)  | NO   | PRI |         |       |
| SUCCESSOR   | varchar(40)  | NO   | PRI |         |       |
| TIME        | double(15,5) | YES  |     | NULL    |       |
| COST        | double(15,5) | YES  |     | NULL    |       |
+-------------+--------------+------+-----+---------+-------+
6 rows in set (0.01 sec)

I have seen this problem only on the ARM architecture.





More information about the pkg-mysql-maint mailing list