Skip to content

Commit 54d38f1

Browse files
committed
Rename WP_SQLite_Driver to WP_PDO_MySQL_On_SQLite
1 parent 6390519 commit 54d38f1

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

tests/WP_SQLite_Driver_PDO_API_Tests.php renamed to tests/WP_PDO_MySQL_On_SQLite_PDO_API_Tests.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
use PHPUnit\Framework\TestCase;
44

5-
class WP_SQLite_Driver_PDO_API_Tests extends TestCase {
6-
/** @var WP_SQLite_Driver */
5+
class WP_PDO_MySQL_On_SQLite_PDO_API_Tests extends TestCase {
6+
/** @var WP_PDO_MySQL_On_SQLite */
77
private $driver;
88

99
public function setUp(): void {
1010
$connection = new WP_SQLite_Connection( array( 'path' => ':memory:' ) );
11-
$this->driver = new WP_SQLite_Driver( $connection, 'wp' );
11+
$this->driver = new WP_PDO_MySQL_On_SQLite( $connection, 'wp' );
1212
}
1313

1414
public function test_begin_transaction(): void {

wp-includes/sqlite-ast/class-wp-sqlite-driver.php renamed to wp-includes/sqlite-ast/class-wp-pdo-mysql-on-sqlite.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
* The driver requires PDO with the SQLite driver, and the PCRE engine.
1616
*/
17-
class WP_SQLite_Driver {
17+
class WP_PDO_MySQL_On_SQLite {
1818
/**
1919
* The path to the MySQL SQL grammar file.
2020
*/

0 commit comments

Comments
 (0)