Bug #9563 | Temporary tables in Stored Procedures are not visible | ||
---|---|---|---|
Submitted: | 1 Apr 2005 16:12 | Modified: | 3 Aug 2005 6:57 |
Reporter: | Jan Kneschke | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 5.0.3 | OS: | Linux (Linux/x86) |
Assigned to: | Assigned Account | CPU Architecture: | Any |
[1 Apr 2005 16:12]
Jan Kneschke
[7 Apr 2005 13:30]
Dmitry Lenev
If you will use DROP TEMPORARY TABLE instead of ordinary DROP TABLE everything will work... Also probably it won't harm if we will allow to use ordinary DROP TABLE in stored procedures since it does not requires usual table lock... But this needs additional consideration.
[7 Apr 2005 13:44]
Dmitry Lenev
Sorry for confusion. I was trying to say that we probably can allow to use of ordinary DROP TABLE in SP without trying to open and lock it before SP execution...
[3 Aug 2005 6:57]
Sergey Petrunya
Fixed by fix for BUG#11126