wiki.techinc.nl/tests/phpunit/integration/includes/db
Aaron Schulz 23eab3ec39 rdbms: make SqlitePlatform::tableName() apply double quotes
The RDBMs classes treat table names as application-supplied rather
than user-supplied, since it does not make sense for the user to be
able to blindly pick the schema (likely causing query errors). Table
names are generally non-problematic [a-zA-Z0-9_]+ strings. However,
they still should be escaped as identifiers, since they might have
problematic characters. Fix the SQLite backend to apply escaping
here, similar to MySQL and Postgres.

Fix incorrect use of tableName() in DatabaseSqlite::fieldInfo().
It should work the same as in tableExists().

Bug: T72510
Change-Id: I3713f81e6e1eca84cc51c12c9307d4c5dc737043
2022-11-23 00:17:40 +00:00
..
DatabaseMysqlTest.php tests: Replace checkPHPExtension() with @requires annotations 2022-10-23 20:47:14 -04:00
DatabasePostgresTest.php tests: Use namespaced IDatabase class 2022-05-28 00:09:55 +02:00
DatabaseSqliteTest.php rdbms: make SqlitePlatform::tableName() apply double quotes 2022-11-23 00:17:40 +00:00
DatabaseSqliteUpgradeTest.php Drop 1.32 and 1.33 db updates 2022-09-26 18:34:31 +02:00