Commit e86580c
committed
MDEV-11552 Queries executed by event scheduler are written to slow log incorrectly or not written at all
because thd->update_server_status() is used to measure the query time for the slow log (not only to set protocol level flags), it needs to be called also when the server isn't going to send anything to the client.1 parent 211cf93 commit e86580c
File tree
3 files changed
+45
-5
lines changed- mysql-test
- r
- t
- sql
3 files changed
+45
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3146 | 3146 | | |
3147 | 3147 | | |
3148 | 3148 | | |
| 3149 | + | |
3149 | 3150 | | |
3150 | | - | |
3151 | | - | |
3152 | | - | |
| 3151 | + | |
| 3152 | + | |
3153 | 3153 | | |
3154 | 3154 | | |
| 3155 | + | |
3155 | 3156 | | |
3156 | | - | |
3157 | 3157 | | |
3158 | 3158 | | |
3159 | 3159 | | |
3160 | | - | |
| 3160 | + | |
3161 | 3161 | | |
3162 | 3162 | | |
3163 | 3163 | | |
| |||
0 commit comments