We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77aba17 commit 60e7b14Copy full SHA for 60e7b14
1 file changed
wp-includes/sqlite-ast/class-wp-sqlite-driver.php
@@ -4106,11 +4106,6 @@ public function translate_select_item( WP_Parser_Node $node ): string {
4106
* @throws WP_SQLite_Driver_Exception When the translation fails.
4107
*/
4108
public function translate_table_ref( WP_Parser_Node $node ): string {
4109
- // Information schema is currently accessible only in read-only queries.
4110
- if ( ! $this->is_readonly ) {
4111
- return $this->translate_sequence( $node->get_children() );
4112
- }
4113
-
4114
// The table reference is in "<schema>.<table>" or "<table>" format.
4115
$parts = $node->get_descendant_nodes( 'identifier' );
4116
$table = array_pop( $parts );
0 commit comments