Bug #29779 | Wrong result of stored procedure | ||
---|---|---|---|
Submitted: | 12 Jul 2007 22:51 | Modified: | 19 Jul 2007 20:50 |
Reporter: | Sergey Belov | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: Stored Routines | Severity: | S3 (Non-critical) |
Version: | 5.0.41-community-nt-log, 5.0, 5.1 BK | OS: | Any (Linux, Win XP pro 64-bit edition) |
Assigned to: | CPU Architecture: | Any | |
Tags: | IN variable, stored procedure |
[12 Jul 2007 22:51]
Sergey Belov
[12 Jul 2007 22:59]
Sergey Belov
Line 'DECLARE VAR INT UNSIGNED;' in stored procedure example is not needed.
[13 Jul 2007 5:19]
Sveta Smirnova
Thank you for the report. Verified as described. Workaround: SELECT EXISTS(SELECT 7 FROM `BlahBlah` WHERE `BlahBlah`.`TEST`=1);
[16 Jul 2007 12:40]
Konstantin Osipov
Thank you for your bug report. This is a duplicate of Bug#5967 "Stored procedure declared variable used instead of column"
[19 Jul 2007 20:50]
Sergey Belov
Does this bug still fixing or it is suspend? Maybe document it as a feature?