Remove undocumented createcachetable <table_name…> support
The createcachetable management command used to accept one or more table_name command-line arguments. That behavior was removed from the documentation in 1.7 when the command was changed to iterate over all CACHES (#15888), but the implementation is still in place with a "Legacy behavior" comment.
Retaining the undocumented legacy behavior adds maintenance burden (e.g., in implementing features like #36830) and creates potential confusion for users who might try to run createcachetable with a CACHES alias rather than a table name.
Suggest removing support for args in createcachetable, with deprecation notices (in case there are still some scripts out there relying on the legacy behavior).
Change History
(11)
| Description: |
modified (diff)
|
| Owner: |
set to Nikita Kostenko
|
| Status: |
new → assigned
|
| Triage Stage: |
Unreviewed → Accepted
|
| Patch needs improvement: |
set
|
| Owner: |
Nikita Kostenko removed
|
| Status: |
assigned → new
|
| Triage Stage: |
Accepted → Unreviewed
|
I agree with removing the undocumented positional arguments from
createcachetable. The legacy behavior appears to provide little value while adding maintenance and potential ambiguity with cache aliases. A deprecation path followed by removal seems reasonable.