[MDEV-5438] A view can mask a table that supports discovery Created: 2013-12-12 Updated: 2013-12-23 Resolved: 2013-12-23 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.6 |
| Fix Version/s: | 10.0.7 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Not reproducible with MyISAM or InnoDB:
Not reproducible on 5.5. |
| Comments |
| Comment by Sergei Golubchik [ 2013-12-12 ] |
|
Same with Archive. Or — I suppose — any engine that supports table discovery. |
| Comment by Elena Stepanova [ 2013-12-12 ] |
|
Indeed, I did not consider that TokuDB is different from lets say InnoDB in terms of table discovery. It is a problem also because it can easily cause replication failure. If I add, for example, "SELECT * FROM t1" after table creation, then the view creation fails as expected; but in case of replication, only two CREATE statements will be replicated (the latter with the error code), while SELECT won't be in the binlog, so on slave the second CREATE will pass, which will cause different error codes on master and slave, which means replication failure. |