Got error while trying compile with debug information (Select with Union)

Discussion of open issues, suggestions and bugs regarding database management and administration tools for MySQL
Post Reply
soaron
Posts: 10
Joined: Mon 09 Jul 2007 20:49

Got error while trying compile with debug information (Select with Union)

Post by soaron » Mon 16 Jul 2007 08:53

Try this query:
http://dev.mysql.com/doc/refman/5.0/en/union.html

PROCEDURE test._union()
BEGIN
(SELECT REPEAT('a',1)) UNION (SELECT REPEAT('b',10));
END


Got this error message:
Image

Duke
Devart Team
Posts: 476
Joined: Fri 29 Oct 2004 09:25

Post by Duke » Tue 17 Jul 2007 11:29

What is the MySQL server version?

soaron
Posts: 10
Joined: Mon 09 Jul 2007 20:49

Post by soaron » Tue 17 Jul 2007 11:56

5.0.41-community-nt

Duke
Devart Team
Posts: 476
Joined: Fri 29 Oct 2004 09:25

Post by Duke » Tue 04 Sep 2007 11:26

We've found the problem and we'll resolve it. As a workaround you can remove brackets around SELECT statements composing UNION.

Post Reply