Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for SHOW TABLE STATUS LIKE queries #77

Merged
merged 3 commits into from
Apr 4, 2024

Conversation

adamziel
Copy link
Collaborator

Adds support for the following queries:

  • SHOW TABLE STATUS FROM dbschema
  • SHOW TABLE STATUS IN dbschema
  • SHOW TABLE STATUS IN dbschema LIKE ""
  • SHOW TABLE STATUS LIKE ""

Also, brings the keys of the returned record in line with MySQL spec. The values are mostly fake and supplying the correct ones will require more work.

Follow-up work

Support SHOW TABLE STATUS WHERE

Closes #75

cc @brandonpayton

@adamziel adamziel added the enhancement New feature or request label Mar 20, 2024
tests/bootstrap.php Outdated Show resolved Hide resolved
@aristath
Copy link
Member

aristath commented Apr 4, 2024

Updated this PR with the latest changes from main because there were conflicts that needed to be resolved 👍

@adamziel
Copy link
Collaborator Author

adamziel commented Apr 4, 2024

SHOW TABLE STATUS WHERE is not supported yet, but SHOW TABLE STATUS LIKE is which is a win – I'll go ahead and merge.

@adamziel adamziel merged commit f382e3f into main Apr 4, 2024
@bgrgicak
Copy link
Collaborator

This PR broke PHP 7.1 and 7.2 support in Playground. https://playground.wordpress.net/?php=7.1

@bgrgicak
Copy link
Collaborator

Locally this crashes the site and it breaks e2e tests.

@bgrgicak
Copy link
Collaborator

bgrgicak commented Apr 11, 2024

PR to fix this issue #92

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support SHOW TABLE STATUS
4 participants