[MDEV-24352] General error: 1808 Schema mismatch (Index field count XX doesn't match tablespace metadata file value YY) Created: 2020-12-04 Updated: 2022-01-06 Resolved: 2022-01-06 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.5.8, 10.4, 10.5 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Critical |
| Reporter: | Bernhard Pszola | Assignee: | Marko Mäkelä |
| Resolution: | Incomplete | Votes: | 2 |
| Labels: | TABLESPACES | ||
| Environment: |
Windows 10 |
||
| Issue Links: |
|
||||||||||||||||||||
| Description |
|
Copying Transportable Tablespaces for Non-partitioned Tables cannont be completed for tables with index. Due to this error, the data are not importetd into the table. The storage formats for temporal columns and the ROW_FORMAT-values are identical. |
| Comments |
| Comment by Marko Mäkelä [ 2020-12-05 ] | ||||||||||||||||||||||||||||
|
Pszola, can you please provide the exact commands for repeating this error, starting from the initial CREATE TABLE before FLUSH TABLES? Note: There is a known bug | ||||||||||||||||||||||||||||
| Comment by Bernhard Pszola [ 2020-12-05 ] | ||||||||||||||||||||||||||||
|
Hello Marko Mäkela, | ||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2021-01-02 ] | ||||||||||||||||||||||||||||
|
Reproducible on 10.4, 10.5. INSERT in the test case is unimportant, I put it there to make the point that the table doesn't have to be empty to get the failure. The problem appeared in 10.4 after this commit:
See also | ||||||||||||||||||||||||||||
| Comment by Marko Mäkelä [ 2021-03-22 ] | ||||||||||||||||||||||||||||
|
elenst, thank you. Your test case looks like a duplicate of | ||||||||||||||||||||||||||||
| Comment by Marko Mäkelä [ 2021-11-01 ] | ||||||||||||||||||||||||||||
|
Pszola, a new release where |