| @@ -306,16 +306,8 @@ | ||
| 306 | 306 | if ( isset( $GLOBALS['@pdo'] ) ) { |
| 307 | 307 | $pdo = $GLOBALS['@pdo']; |
| 308 | 308 | } |
| 309 | 309 | if ( defined( 'WP_SQLITE_AST_DRIVER' ) && WP_SQLITE_AST_DRIVER ) { |
| 310 | - if ( null === $this->dbname || '' === $this->dbname ) { | |
| 311 | - $this->bail( | |
| 312 | - 'The database name was not set. The SQLite driver requires a database name to be set to emulate MySQL information schema tables.', | |
| 313 | - 'db_connect_fail' | |
| 314 | - ); | |
| 315 | - return false; | |
| 316 | - } | |
| 317 | - | |
| 318 | 310 | require_once __DIR__ . '/../../wp-includes/parser/class-wp-parser-grammar.php'; |
| 319 | 311 | require_once __DIR__ . '/../../wp-includes/parser/class-wp-parser.php'; |
| 320 | 312 | require_once __DIR__ . '/../../wp-includes/parser/class-wp-parser-node.php'; |
| 321 | 313 | require_once __DIR__ . '/../../wp-includes/parser/class-wp-parser-token.php'; |