We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ca7a70 commit b33f923Copy full SHA for b33f923
1 file changed
wp-includes/sqlite-ast/class-wp-sqlite-driver.php
@@ -3586,6 +3586,8 @@ private function translate_runtime_function_call( WP_Parser_Node $node ): string
3586
}
3587
3588
switch ( $child->id ) {
3589
+ case WP_MySQL_Lexer::DATABASE_SYMBOL:
3590
+ return $this->connection->quote( $this->db_name );
3591
case WP_MySQL_Lexer::CURRENT_TIMESTAMP_SYMBOL:
3592
case WP_MySQL_Lexer::NOW_SYMBOL:
3593
/*
0 commit comments