Skip to content

Commit d6d2f1c

Browse files
committed
Remove redundant facade state
Avoid assigning an undeclared main_db_name property after removing the test-only magic setter; the database name is already passed to the wrapped driver.
1 parent c1dabce commit d6d2f1c

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎packages/mysql-on-sqlite/src/sqlite/class-wp-sqlite-driver.php‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ public function __construct(
7777
'journal_mode' => $connection->query( 'PRAGMA journal_mode' )->fetchColumn(),
7878
)
7979
);
80-
$this->main_db_name = $database;
8180
$this->client_info = $this->mysql_on_sqlite_driver->client_info;
8281

8382
$connection->get_pdo()->setAttribute( PDO::ATTR_STRINGIFY_FETCHES, true );

0 commit comments

Comments
 (0)