Forums » Beta

Thread: CREATE Stored Procedure BUG

This question is not answered. Helpful answers available: 2. Answered answers available: 1.


Permlink Replies: 1 - Pages: 1 - Last Post: Mar 11, 2010 8:03 AM by: Ernest
igor.fld_890

Posts: 1
Registered: 3/11/10
CREATE Stored Procedure BUG
Posted: Mar 11, 2010 12:42 AM
 
  Click to reply to this thread Reply

Hi,

When you try to create stored procedure like this :

CREATE PROCEDURE test (IN id INT)

BEGIN

set @STATUS=0;

END;

which consists @STATUS (variable), 5.0.0.157 fails with the following message : Category Timestamp Duration Message Line Position
Error 3/11/2010 10:19:48 AM 0:00:00.563 MySQL Database Error: Fatal error encountered during command execution. 1 0

P.S. : Release version works O.K with variables

Regards,
Igor.




Ernest
Re: CREATE Stored Procedure BUG
Posted: Mar 11, 2010 8:03 AM   in response to: igor.fld_890
  Click to reply to this thread Reply

Hi Igor,

I did test this sp in ver.4.6 and it runs without any problem in my PC. You set the system variable @status properly to 0.

Thanks

Ernest Bonat, Ph.D.
President | Visual WWW, Inc.
Cell:503.730.4556 | Fax:503.715.4888
ebonat@evisualwww.com | www.evisualwww.com
Visual WWW is an Open Source Application
Development and Training Shop




Legend
Guru: 2001 + pts
Expert: 751 - 2000 pts
Enthusiast: 31 - 750 pts
Novice: 0 - 30 pts
Moderators
Helpful answer (5 pts)
Answered (10 pts)

Point your RSS reader here for a feed of the latest messages in all forums