Skip to content

Conversation

@JanJakes
Copy link
Member

Implement column metadata for the following statements:

  • SHOW COLLATION, SHOW DATABASES, SHOW CREATE TABLE, SHOW TABLE STATUS, SHOW TABLES, SHOW FULL TABLES, SHOW COLUMNS, SHOW INDEX, SHOW GRANTS, SHOW VARIABLES
  • EXPLAIN, DESCRIBE
  • ANALYZE, CHECK, OPTIMIZE, REPAIR

@JanJakes JanJakes force-pushed the column-meta-statements branch 4 times, most recently from e066e8b to 01a0126 Compare October 21, 2025 16:43
$this->last_column_meta[] = $stmt->getColumnMeta( $i );
}

$this->store_last_column_meta( $stmt );
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe store_last_column_meta_from_resultset() to distinguish that from regular assignments that don't involve $stmt?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@adamziel I renamed it to store_last_column_meta_from_statement since I'm passing it a PDOStatement. Hope that makes sense.

@JanJakes JanJakes force-pushed the fully-qualified-table-names branch from 827bb7a to c7a06a6 Compare October 22, 2025 16:03
@JanJakes JanJakes force-pushed the column-meta-statements branch from 01a0126 to 32462e5 Compare October 22, 2025 16:10
@JanJakes
Copy link
Member Author

@adamziel I also rebased this to resolve conflicts.

@JanJakes JanJakes marked this pull request as ready for review October 22, 2025 16:12
@JanJakes JanJakes requested a review from adamziel October 22, 2025 16:12
@adamziel
Copy link
Collaborator

Cool! Looks good

Base automatically changed from fully-qualified-table-names to develop October 23, 2025 07:28
Using "root" as the user name makes sense considering that
with the SQLite driver, the user gets all available permissions.
@JanJakes JanJakes force-pushed the column-meta-statements branch from 32462e5 to 91bc3e8 Compare October 23, 2025 07:32
@JanJakes JanJakes merged commit 13a43a8 into develop Oct 23, 2025
14 checks passed
@JanJakes JanJakes deleted the column-meta-statements branch October 23, 2025 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants