Commit d6cc483
Tor Didriksen
Bug#36563773 MYSQL SERVER 8.3.0 GLOBAL-BUFFER-OVERFLOW AT 'DECIMAL_BIN_SIZE_INLINE'
Limit the scale used when computing averages of decimal numbers.
Also verify that we do not set precision > DECIMAL_MAX_PRECISION
Change-Id: If32143ad7ed55f841e3973e78fa8e98cc245e7751 parent 9b7e3b1 commit d6cc483
4 files changed
+15
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1569 | 1569 | | |
1570 | 1570 | | |
1571 | 1571 | | |
| 1572 | + | |
1572 | 1573 | | |
1573 | 1574 | | |
1574 | 1575 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2784 | 2784 | | |
2785 | 2785 | | |
2786 | 2786 | | |
2787 | | - | |
| 2787 | + | |
| 2788 | + | |
2788 | 2789 | | |
2789 | 2790 | | |
2790 | 2791 | | |
| |||
3351 | 3352 | | |
3352 | 3353 | | |
3353 | 3354 | | |
| 3355 | + | |
3354 | 3356 | | |
3355 | 3357 | | |
3356 | 3358 | | |
| |||
3508 | 3510 | | |
3509 | 3511 | | |
3510 | 3512 | | |
| 3513 | + | |
3511 | 3514 | | |
3512 | 3515 | | |
3513 | 3516 | | |
| |||
6100 | 6103 | | |
6101 | 6104 | | |
6102 | 6105 | | |
6103 | | - | |
| 6106 | + | |
| 6107 | + | |
| 6108 | + | |
6104 | 6109 | | |
6105 | 6110 | | |
6106 | 6111 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3373 | 3373 | | |
3374 | 3374 | | |
3375 | 3375 | | |
3376 | | - | |
| 3376 | + | |
| 3377 | + | |
3377 | 3378 | | |
3378 | 3379 | | |
3379 | 3380 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1929 | 1929 | | |
1930 | 1930 | | |
1931 | 1931 | | |
1932 | | - | |
| 1932 | + | |
| 1933 | + | |
1933 | 1934 | | |
1934 | 1935 | | |
1935 | 1936 | | |
| |||
2264 | 2265 | | |
2265 | 2266 | | |
2266 | 2267 | | |
2267 | | - | |
| 2268 | + | |
| 2269 | + | |
2268 | 2270 | | |
2269 | 2271 | | |
2270 | 2272 | | |
2271 | 2273 | | |
2272 | 2274 | | |
2273 | | - | |
| 2275 | + | |
2274 | 2276 | | |
2275 | 2277 | | |
2276 | 2278 | | |
| |||
0 commit comments