[MDEV-28344] sys.ps_setup_save and dependent procedures fail with ER_ILLEGAL_HA_CREATE_OPTION Created: 2022-04-18 Updated: 2022-05-04 Resolved: 2022-05-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data Definition - Temporary, Performance Schema |
| Affects Version/s: | 10.7, 10.8 |
| Fix Version/s: | 10.7.4, 10.8.3, 10.9.1 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Elena Stepanova | Assignee: | Anel Husakovic |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | regression | ||
| Description |
|
Correspondingly, procedures which call it also fail (at least sys.diagnostics). The problem was introduced by this commit in 10.7.1:
|
| Comments |
| Comment by Anel Husakovic [ 2022-04-19 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
cvicentiu, I was thinking this would be enough to for the bug but no, still ER_ILLEGAL_HA_CREATE_OPTION error.
So IMHO the patch f7216fa63d69448c3de1532a1dd197d0f28faefd exposed the bug in sys_schema in general since sys_scheme used PERFORMANCE_SCHEMA as an temporary storage engine, to create the temporary tables and that is not what PS is allowing and older patch just prevents that (note previous we had silently substitution with MyISAM).
Leads to
P.S. you should run cmake . && make for each change. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Anel Husakovic [ 2022-04-22 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi wlad can you please review https://github.com/mariadb/server/tree/bb-10.7-anel-performance_schema_regresion | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Vladislav Vaintroub [ 2022-04-25 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Looks good to me. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Anel Husakovic [ 2022-05-04 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Pushed with 56fd0d7b0613be |