Skip to content

Commit 0332e61

Browse files
committed
Improve comment
1 parent 25feeaf commit 0332e61

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

wp-includes/sqlite/class-wp-sqlite-db.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,10 @@ public function db_connect( $allow_bail = true ) {
308308
}
309309
if ( defined( 'WP_SQLITE_AST_DRIVER' ) && WP_SQLITE_AST_DRIVER ) {
310310
if ( null === $this->dbname || '' === $this->dbname ) {
311-
$this->bail( 'The database name was not set.', 'db_connect_fail' );
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+
);
312315
return false;
313316
}
314317

0 commit comments

Comments
 (0)