BUG report (select distinct...) 4.0.2 and latest bk snapshot
BUG report (select distinct...) 4.0.2 and latest bk snapshot
am 23.07.2002 17:39:56 von rathamahata
>Description:
=09ERROR 2013: Lost connection to MySQL server during query.
>How-To-Repeat:
=09
=09select distinct s.supplier_id, s.who_pay, r.name as rname, s.name,
s.nick, s.address, s.contact_person, s.email, s.fax,
s.comment
from supplier s, product_supplier ps, shop_product_supplier sps
use index(product_supplier_id)
left join route r on r.route_id=3Ds.route_id
where ps.product_supplier_id=3Dsps.product_supplier_id and
sps.shop_id=3D10 and ps.supplier_id=3Ds.supplier_id
order by name
limit 0, 10
Result:
ERROR 2013: Lost connection to MySQL server during query
=09Note:
=09The same results with oficial mysql-4.0.2 and latest bk snapshot,
=09mysql was compiled with both gcc-3.1 and gcc-295.3
>Fix:
=09Don't use distinct.
>Submitter-Id:=09
>Originator:=09Sergey S. Kostyliov
>Organization:
eHouse (http://www.ehouse.ru)
>MySQL support: none
>Synopsis:=09SELECT DISTINCT ... failed
>Severity:=09 serious
>Priority:=09medium
>Category:=09mysql
>Class: sw-bug
>Release:=09mysql-4.0.3-alpha (Source distribution)
>Server: /usr/bin/mysqladmin Ver 8.35 Distrib 4.0.3-alpha, for pc-linux-=
gnu=20
on i686
Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license
Server version 4.0.3-alpha
Protocol version=0910
Connection Localhost via UNIX socket
UNIX socket /var/lib/mysql/mysql.sock
Uptime: =0956 sec
Threads: 1 Questions: 1 Slow queries: 0 Opens: 6 Flush tables: 1 Ope=
n=20
tables: 0 Queries per second avg: 0.018
>Environment:
=09
System: Linux white.unishop.org.ru 2.4.19-rc2aa1 #1 SMP Thu Jul 18 10:53:=
30=20
MSD 2002 i686 unknown
Architecture: i686
Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc=20
/usr/bin/cc
GCC: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110)
Compilation info: CC=3D'/usr/local/gcc-3.1/bin/gcc' CFLAGS=3D'-O4 -march=
=3Dpentium3=20
-mcpu=3Dpentium3 -msse -pipe' CXX=3D'/usr/local/gcc-3.1/bin/gcc' CXXFLA=
GS=3D'-O4=20
-march=3Dpentium3 -mcpu=3Dpentium3 -msse -pipe -felide-constructors=20
-fno-exceptions -fno-rtti -DUSE_MYSYS_NEW' LDFLAGS=3D''
LIBC:=20
lrwxrwxrwx 1 root root 13 éÀ=CC 8 20:18 /lib/libc.s=
o.6 ->=20
libc-2.2.5.so
-rwxr-xr-x 1 root root 1260480 éÀ=CE 18 18:45 /lib/libc-2=
2.5.so
-rw-r--r-- 1 root root 2312370 éÀ=CE 18 18:13 /usr/lib/li=
bc.a
-rw-r--r-- 1 root root 178 éÀ=CE 18 17:58 /usr/lib/li=
bc.so
lrwxrwxrwx 1 root root 10 éÀ=CC 8 23:35 /usr/lib/li=
bc-client.a=20
-> c-client.a
Configure command: ./configure --prefix=3D/usr --libexecdir=3D/usr/sbin=20
--localstatedir=3D/var/lib/mysql --mandir=3D/usr/share/man=20
--infodir=3D/usr/share/info --enable-assembler=20
--with-mysqld-ldflags=3D-all-static --with-mysql-user=3Dmysql --with-inno=
db=20
--with-unix-socket-path=3D/var/lib/mysql/mysql.sock=20
--with-extra-charsets=3Dlatin1,koi8_ru,cp1251 --enable-thread-safe-client
------------------------------------------------------------ ---------
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 bugs-thread12215@lists.mysql.com
To unsubscribe, e-mail
Re: BUG report (select distinct...) 4.0.2 and latest bk snapshot
am 23.07.2002 19:45:06 von Peter Zaitsev
On Tuesday 23 July 2002 19:39, Sergey S. Kostyliov wrote:
> >Description:
>
> =09ERROR 2013: Lost connection to MySQL server during query.
>
> >How-To-Repeat:
>
> =09select distinct s.supplier_id, s.who_pay, r.name as rname, s.name,
> s.nick, s.address, s.contact_person, s.email, s.fax=
,
> s.comment
> from supplier s, product_supplier ps, shop_product_supplier sps
> use index(product_supplier_id)
> left join route r on r.route_id=3Ds.route_id
> where ps.product_supplier_id=3Dsps.product_supplier_id and
> sps.shop_id=3D10 and ps.supplier_id=3Ds.supplier_id
> order by name
> limit 0, 10
>
>
> Result:
> ERROR 2013: Lost connection to MySQL server during quer=
y
> =09Note:
> =09The same results with oficial mysql-4.0.2 and latest bk snapshot,
> =09mysql was compiled with both gcc-3.1 and gcc-295.3
>
>
Unfortunately we can't test this bug report as we do not have tables to r=
un=20
this query with.=20
Please check tables you have at first to eliminate corrupted table is the=
=20
source of the problem and if problem persist upload them into secret=20
directory at ftp://support.mysql.com
If you are able to create small repeatable case you may send it in the ma=
il.
--=20
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Peter Zaitsev
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Full-Time Developer
/_/ /_/\_, /___/\___\_\___/ Moscow, Russia
<___/ www.mysql.com M: +7 095 725 4955
------------------------------------------------------------ ---------
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 bugs-thread12217@lists.mysql.com
To unsubscribe, e-mail
Re: BUG report (select distinct...) 4.0.2 and latest bk snapshot
am 23.07.2002 19:45:06 von Peter Zaitsev
On Tuesday 23 July 2002 19:39, Sergey S. Kostyliov wrote:
> >Description:
>
> =09ERROR 2013: Lost connection to MySQL server during query.
>
> >How-To-Repeat:
>
> =09select distinct s.supplier_id, s.who_pay, r.name as rname, s.name,
> s.nick, s.address, s.contact_person, s.email, s.fax=
,
> s.comment
> from supplier s, product_supplier ps, shop_product_supplier sps
> use index(product_supplier_id)
> left join route r on r.route_id=3Ds.route_id
> where ps.product_supplier_id=3Dsps.product_supplier_id and
> sps.shop_id=3D10 and ps.supplier_id=3Ds.supplier_id
> order by name
> limit 0, 10
>
>
> Result:
> ERROR 2013: Lost connection to MySQL server during quer=
y
> =09Note:
> =09The same results with oficial mysql-4.0.2 and latest bk snapshot,
> =09mysql was compiled with both gcc-3.1 and gcc-295.3
>
>
Unfortunately we can't test this bug report as we do not have tables to r=
un=20
this query with.=20
Please check tables you have at first to eliminate corrupted table is the=
=20
source of the problem and if problem persist upload them into secret=20
directory at ftp://support.mysql.com
If you are able to create small repeatable case you may send it in the ma=
il.
--=20
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Peter Zaitsev
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Full-Time Developer
/_/ /_/\_, /___/\___\_\___/ Moscow, Russia
<___/ www.mysql.com M: +7 095 725 4955
------------------------------------------------------------ ---------
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
To unsubscribe, e-mail
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Re: BUG report (select distinct...) 4.0.2 and latest bk snapshot
am 23.07.2002 20:18:04 von rathamahata
At first I want to thank you for a fast answer,
On Tuesday 23 July 2002 21:45, Peter Zaitsev wrote:
> On Tuesday 23 July 2002 19:39, Sergey S. Kostyliov wrote:
> > >Description:
> >
> > =09ERROR 2013: Lost connection to MySQL server during query.
> > =09Note:
> > =09The same results with oficial mysql-4.0.2 and latest bk snapshot,
> > =09mysql was compiled with both gcc-3.1 and gcc-295.3
>
> Unfortunately we can't test this bug report as we do not have tables to=
run
> this query with.
>
> Please check tables you have at first to eliminate corrupted table is t=
he
> source of the problem and if problem persist upload them into secret
> directory at ftp://support.mysql.com
Sorry, but it doesn't looks like a table corruption.
To be sure i've tested this with fresh tables created from a sql script.
I can also add that this is easily reproducable on two of my boxes (UP & =
SMP)
> If you are able to create small repeatable case you may send it in the
> mail.
Unfortunately it's a kind of big test case (1.2Mb)
I had uploaded a test case with name select_distinct-ssk.tar.gz to=20
ftp://support.mysql.com/pub/mysql/secret
--=20
Best regards,
Sergey S. Kostyliov
Public PGP key: http://sysadminday.org.ru/rathamahata.=
asc
------------------------------------------------------------ ---------
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 bugs-thread12219@lists.mysql.com
To unsubscribe, e-mail
Re: BUG report (select distinct...) 4.0.2 and latest bk snapshot
am 23.07.2002 20:18:04 von rathamahata
At first I want to thank you for a fast answer,
On Tuesday 23 July 2002 21:45, Peter Zaitsev wrote:
> On Tuesday 23 July 2002 19:39, Sergey S. Kostyliov wrote:
> > >Description:
> >
> > =09ERROR 2013: Lost connection to MySQL server during query.
> > =09Note:
> > =09The same results with oficial mysql-4.0.2 and latest bk snapshot,
> > =09mysql was compiled with both gcc-3.1 and gcc-295.3
>
> Unfortunately we can't test this bug report as we do not have tables to=
run
> this query with.
>
> Please check tables you have at first to eliminate corrupted table is t=
he
> source of the problem and if problem persist upload them into secret
> directory at ftp://support.mysql.com
Sorry, but it doesn't looks like a table corruption.
To be sure i've tested this with fresh tables created from a sql script.
I can also add that this is easily reproducable on two of my boxes (UP & =
SMP)
> If you are able to create small repeatable case you may send it in the
> mail.
Unfortunately it's a kind of big test case (1.2Mb)
I had uploaded a test case with name select_distinct-ssk.tar.gz to=20
ftp://support.mysql.com/pub/mysql/secret
--=20
Best regards,
Sergey S. Kostyliov
Public PGP key: http://sysadminday.org.ru/rathamahata.=
asc
------------------------------------------------------------ ---------
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
To unsubscribe, e-mail
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Re: BUG report (select distinct...) 4.0.2 and latest bk snapshot
am 24.07.2002 15:23:05 von Sinisa Milivojevic
Sergey S. Kostyliov writes:
> At first I want to thank you for a fast answer,
>
> On Tuesday 23 July 2002 21:45, Peter Zaitsev wrote:
> > On Tuesday 23 July 2002 19:39, Sergey S. Kostyliov wrote:
> > > >Description:
> > >
> > > ERROR 2013: Lost connection to MySQL server during query.
>
> > > Note:
> > > The same results with oficial mysql-4.0.2 and latest bk snapshot,
> > > mysql was compiled with both gcc-3.1 and gcc-295.3
> >
> > Unfortunately we can't test this bug report as we do not have tables to run
> > this query with.
> >
> > Please check tables you have at first to eliminate corrupted table is the
> > source of the problem and if problem persist upload them into secret
> > directory at ftp://support.mysql.com
>
> Sorry, but it doesn't looks like a table corruption.
> To be sure i've tested this with fresh tables created from a sql script.
> I can also add that this is easily reproducable on two of my boxes (UP & SMP)
>
> > If you are able to create small repeatable case you may send it in the
> > mail.
>
> Unfortunately it's a kind of big test case (1.2Mb)
>
> I had uploaded a test case with name select_distinct-ssk.tar.gz to
> ftp://support.mysql.com/pub/mysql/secret
>
> --
>
> Best regards,
> Sergey S. Kostyliov
> Public PGP key: http://sysadminday.org.ru/rathamahata.asc
>
If the table names are :
product_supplier
route
supplier
shop_product_supplier
then I have got them. I will test your case today.
Is it one bug or two ??
--
Regards,
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Fulltime Developer
/_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
<___/ www.mysql.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 bugs-thread12222@lists.mysql.com
To unsubscribe, e-mail
Re: BUG report (select distinct...) 4.0.2 and latest bk snapshot
am 24.07.2002 15:23:05 von Sinisa Milivojevic
Sergey S. Kostyliov writes:
> At first I want to thank you for a fast answer,
>
> On Tuesday 23 July 2002 21:45, Peter Zaitsev wrote:
> > On Tuesday 23 July 2002 19:39, Sergey S. Kostyliov wrote:
> > > >Description:
> > >
> > > ERROR 2013: Lost connection to MySQL server during query.
>
> > > Note:
> > > The same results with oficial mysql-4.0.2 and latest bk snapshot,
> > > mysql was compiled with both gcc-3.1 and gcc-295.3
> >
> > Unfortunately we can't test this bug report as we do not have tables to run
> > this query with.
> >
> > Please check tables you have at first to eliminate corrupted table is the
> > source of the problem and if problem persist upload them into secret
> > directory at ftp://support.mysql.com
>
> Sorry, but it doesn't looks like a table corruption.
> To be sure i've tested this with fresh tables created from a sql script.
> I can also add that this is easily reproducable on two of my boxes (UP & SMP)
>
> > If you are able to create small repeatable case you may send it in the
> > mail.
>
> Unfortunately it's a kind of big test case (1.2Mb)
>
> I had uploaded a test case with name select_distinct-ssk.tar.gz to
> ftp://support.mysql.com/pub/mysql/secret
>
> --
>
> Best regards,
> Sergey S. Kostyliov
> Public PGP key: http://sysadminday.org.ru/rathamahata.asc
>
If the table names are :
product_supplier
route
supplier
shop_product_supplier
then I have got them. I will test your case today.
Is it one bug or two ??
--
Regards,
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Fulltime Developer
/_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
<___/ www.mysql.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
To unsubscribe, e-mail
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Re: BUG report (select distinct...) 4.0.2 and latest bk snapshot
am 24.07.2002 15:53:43 von rathamahata
On Wednesday 24 July 2002 17:23, Sinisa Milivojevic wrote:
> Sergey S. Kostyliov writes:
> > At first I want to thank you for a fast answer,
> >
> > On Tuesday 23 July 2002 21:45, Peter Zaitsev wrote:
> > > On Tuesday 23 July 2002 19:39, Sergey S. Kostyliov wrote:
> > > > >Description:
> > > >
> > > > =09ERROR 2013: Lost connection to MySQL server during query.
> > I had uploaded a test case with name select_distinct-ssk.tar.gz to
> > ftp://support.mysql.com/pub/mysql/secret
> If the table names are :
>
> product_supplier
> route
> supplier
> shop_product_supplier
Yes they are. 4 tables, names are right.
> then I have got them. I will test your case today.
>
> Is it one bug or two ??
It'is a one bug AFAIK.
--=20
Best regards,
Sergey S. Kostyliov
Public PGP key: http://sysadminday.org.ru/rathamahata.=
asc
------------------------------------------------------------ ---------
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 bugs-thread12223@lists.mysql.com
To unsubscribe, e-mail
Re: BUG report (select distinct...) 4.0.2 and latest bk snapshot
am 24.07.2002 15:53:43 von rathamahata
On Wednesday 24 July 2002 17:23, Sinisa Milivojevic wrote:
> Sergey S. Kostyliov writes:
> > At first I want to thank you for a fast answer,
> >
> > On Tuesday 23 July 2002 21:45, Peter Zaitsev wrote:
> > > On Tuesday 23 July 2002 19:39, Sergey S. Kostyliov wrote:
> > > > >Description:
> > > >
> > > > =09ERROR 2013: Lost connection to MySQL server during query.
> > I had uploaded a test case with name select_distinct-ssk.tar.gz to
> > ftp://support.mysql.com/pub/mysql/secret
> If the table names are :
>
> product_supplier
> route
> supplier
> shop_product_supplier
Yes they are. 4 tables, names are right.
> then I have got them. I will test your case today.
>
> Is it one bug or two ??
It'is a one bug AFAIK.
--=20
Best regards,
Sergey S. Kostyliov
Public PGP key: http://sysadminday.org.ru/rathamahata.=
asc
------------------------------------------------------------ ---------
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
To unsubscribe, e-mail
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php