[MDEV-12422] CONNECT Engine to support CHECK TABLE Created: 2017-04-01 Updated: 2018-10-15 Resolved: 2018-10-15 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - Connect |
| Fix Version/s: | 10.0.37, 10.3.11, 10.1.37, 10.2.19 |
| Type: | Task | Priority: | Minor |
| Reporter: | Robert Dyas | Assignee: | Olivier Bertrand |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
This is a feature request. It would be great if CONNECT Engine would not return an error when CHECK TABLE is run. The problem is that when running mysqlcheck from the command line with the --all-databases option and lots of tables it would be great to only get reports of actual errors; right now all CONNECT Engine tables flag as an error because the command is unsupported. It would be ideal if CHECK TABLE against a CONNECT table would perform at least minimal consistency checks and return OK if all looks correct. |
| Comments |
| Comment by Robert Dyas [ 2017-05-26 ] | ||||||||||||||||||
|
Just for more context: even a minimal implementation where is does not generate an error but says OK would be good enough for our uses currently. Since CONNECT tables are by definition not the master source of the data, then they could be considered OK by default. | ||||||||||||||||||
| Comment by Olivier Bertrand [ 2017-05-29 ] | ||||||||||||||||||
|
Does nothing but no error return anymore. | ||||||||||||||||||
| Comment by Robert Dyas [ 2017-06-04 ] | ||||||||||||||||||
|
In 10.1.24 check table still returns an error:
| ||||||||||||||||||
| Comment by Olivier Bertrand [ 2017-06-04 ] | ||||||||||||||||||
|
Normal, version 10.1.24 does not include the fix. | ||||||||||||||||||
| Comment by Robert Dyas [ 2017-06-05 ] | ||||||||||||||||||
|
Olivier - could you take a look at | ||||||||||||||||||
| Comment by Robert Dyas [ 2017-08-19 ] | ||||||||||||||||||
|
I just tried the following command with 10.1.26 ...
and it still produces this error just like before:
Did this change not get complied in or is there some other issue? | ||||||||||||||||||
| Comment by Olivier Bertrand [ 2017-08-20 ] | ||||||||||||||||||
|
| ||||||||||||||||||
| Comment by Olivier Bertrand [ 2018-10-15 ] | ||||||||||||||||||
|
New versions of CONNECT now support a somewhat simplistic version of CHECK TABLE. |