Bug #45695 | No Error in Compliation of procedure when the table name not in db | ||
---|---|---|---|
Submitted: | 24 Jun 2009 8:04 | Modified: | 24 Jun 2009 8:52 |
Reporter: | g s | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Stored Routines | Severity: | S1 (Critical) |
Version: | OS: | Any | |
Assigned to: | CPU Architecture: | Any |
[24 Jun 2009 8:04]
g s
[24 Jun 2009 8:52]
Valeriy Kravchuk
As MySQL allows to use DDL statements like CREATE TABLE and DROP TABLE (see http://dev.mysql.com/doc/refman/5.1/en/create-procedure.html for the details) in the SP body, there is no good way to check for correct table names usage at CREATE PROCEDURE time.