wiki.techinc.nl/includes/libs/rdbms/platform
Aaron Schulz cbeeea6468 rdbms: clean up tableName() handling of pre-quoted names
Adds a SQLPlatform::extractTableNameComponents() helper method
to replace the buggy explode() call in in qualifiedTableComponents().

Make qualifiedTableComponents() handle the job of filtering out empty
table name qualifier components. This also avoids the 4-tuple return
value where $database and $schema could be flipped depending on the
RDBMS type.

Remove SQLPlatform::prependDatabaseOrSchema() helper method by putting
the quoting log in tableName() directly.

Bug: T352316
Change-Id: I8c071cc19d99339484960f737a42287ad626736f
2023-12-13 17:46:20 +00:00
..
ISQLPlatform.php rdbms: Simplify TRUNCATE handling 2023-12-11 14:29:52 +11:00
MySQLPlatform.php rdbms: clean up tableName() handling of pre-quoted names 2023-12-13 17:46:20 +00:00
PostgresPlatform.php rdbms: Map PostgreSQL boolean values to MySQL-compatible forms 2023-11-29 13:31:42 +11:00
SqlitePlatform.php
SQLPlatform.php rdbms: clean up tableName() handling of pre-quoted names 2023-12-13 17:46:20 +00:00