Bug #49625 | Stored procedure that calls UUID() calls resuting Insert Statement multipe times | ||
---|---|---|---|
Submitted: | 11 Dec 2009 15:28 | Modified: | 14 Dec 2009 18:03 |
Reporter: | Andy Hurst | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Stored Routines | Severity: | S1 (Critical) |
Version: | 5.0.51 | OS: | Any (Unknown host OS) |
Assigned to: | CPU Architecture: | Any | |
Tags: | stored procedure, Stored Program, UUID, Violates PK |
[11 Dec 2009 15:28]
Andy Hurst
[11 Dec 2009 15:33]
Valeriy Kravchuk
Please, check with a newer version, 5.0.88, and inform about the results.
[14 Dec 2009 16:06]
Andy Hurst
Unfortunately I cannot upgrade the db version at this time. However I've found more info about the issue: Calling proc as such inserts multiple rows: call dbname.procName(blah); However calling proc like this works fine: select the correct db first and then call procName(blah);
[14 Dec 2009 18:03]
Andy Hurst
So now I'm pretty sure the hole stupid thing is a result of the usage of Toad for MySQL client.