mysql-test/suite/x/r/session_sleep.result
raw| 1 | |
| 2 | |
| 3 | ## I. Verify that call to sleep SQL is terminated after disconnection |
| 4 | # |
| 5 | # 1. Send 1 hour sleep command to server through X Protocol |
| 6 | # 2. Disconnect without waiting for response |
| 7 | # 3. Verify that sleep was terminated (almost right away) |
| 8 | |
| 9 | |
| 10 | # |
| 11 | # I.1 |
| 12 | RUN SELECT SLEEP(60 * 60 /* 60 minutes */); |
| 13 | |
| 14 | # |
| 15 | # I.2 |
| 16 | ok |
| 17 | |
| 18 | # |
| 19 | # I.3 Wait maximum of 30 seconds for closure of X Connection |
| 20 | Success, there is only one session left |