We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5add40 commit 9b35d57Copy full SHA for 9b35d57
1 file changed
wp-includes/sqlite-ast/class-wp-sqlite-driver.php
@@ -2939,6 +2939,9 @@ private function translate_query_expression( WP_Parser_Node $node ): string {
2939
* SELECT t1.name FROM t1 JOIN t2 ON t2.t1_id = t1.id ORDER BY t1.name
2940
*
2941
* Note that the ORDER BY column was rewritten from "name" to "t1.name".
2942
+ *
2943
+ * @TODO: When multi-database support is implemented, we'll also need to
2944
+ * consider column references in forms like "db.table.column".
2945
*/
2946
$disambiguated_order_list = array();
2947
$order_clause = $node->get_first_child_node( 'orderClause' );
0 commit comments