Commit cd28452
committed
MDEV-37864: mysql-test/mtr --cursor main.func_json fails
Analysis:
Maximum length of the field of the temorary table that cursor protocol uses
is not enough, which it actually gets when we prepare the
json_array_intersect() function and set the max length of the result.
So even though the entire result is sent, only partial is actually copied
because the field length is not enough.
Fix:
Have enough max_length.1 parent 029d6a0 commit cd28452
File tree
3 files changed
+18
-2
lines changed- mysql-test/main
- sql
3 files changed
+18
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5297 | 5297 | | |
5298 | 5298 | | |
5299 | 5299 | | |
| 5300 | + | |
| 5301 | + | |
| 5302 | + | |
| 5303 | + | |
| 5304 | + | |
| 5305 | + | |
| 5306 | + | |
| 5307 | + | |
| 5308 | + | |
| 5309 | + | |
5300 | 5310 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4196 | 4196 | | |
4197 | 4197 | | |
4198 | 4198 | | |
| 4199 | + | |
| 4200 | + | |
| 4201 | + | |
| 4202 | + | |
| 4203 | + | |
| 4204 | + | |
4199 | 4205 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5501 | 5501 | | |
5502 | 5502 | | |
5503 | 5503 | | |
5504 | | - | |
5505 | | - | |
| 5504 | + | |
| 5505 | + | |
5506 | 5506 | | |
5507 | 5507 | | |
5508 | 5508 | | |
| |||
0 commit comments