Bug #19476 | SP's in events - documentation request. | ||
---|---|---|---|
Submitted: | 2 May 2006 7:42 | Modified: | 18 May 2006 5:10 |
Reporter: | Peter Laursen (Basic Quality Contributor) | Email Updates: | |
Status: | Won't fix | Impact on me: | |
Category: | MySQL Server | Severity: | S4 (Feature request) |
Version: | 5.1.x | OS: | Any (any) |
Assigned to: | CPU Architecture: | Any |
[2 May 2006 7:42]
Peter Laursen
[2 May 2006 7:49]
Peter Laursen
BTW: doesn't this too apply when calling SP's from inside a SP or a TRIGGER ?
[15 May 2006 20:24]
Valeriy Kravchuk
Thank you for a documentation request. For me is is obvious that statements inside BEGIN ... END block (in SP or EVENT, or wherever they will be used), separated with ';', are executed sequentially, one after the complete and successfull execution of the previous one. What exactly do you want to see documented?
[17 May 2006 23:39]
Peter Laursen
:-) Well .. if it is that obvious then it may be a silly request. You can choose to decide so! I just was no sure about if - in a multithreaded environment - call()ing a SP under certain circunmstances would start that SP in a seperate thread where it would run 'on its own'. I do not have the technical insight into the run-time implementation. There was a passage in the docs that made me uncertain, but I cannot find it now. hhmmmm ... your choice what to do.
[18 May 2006 0:59]
Paul DuBois
If the statements that you issue within a given connection did not execute sequentially, you wouldn't every be able to tell or expect what they will do. The MySQL server is multi-threaded, yes, but a given connection takes up a single thread. Its statements do not execute asynchronously of one another.
[18 May 2006 5:10]
Valeriy Kravchuk
There is no need to fix anything, I think.