We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bac48d commit 1db1f85Copy full SHA for 1db1f85
sql/table.cc
@@ -6733,8 +6733,8 @@ const char *Natural_join_column::safe_db_name()
6733
ensure consistency. An exception are I_S schema tables, which
6734
are inconsistent in this respect.
6735
*/
6736
- DBUG_ASSERT(!cmp(&table_ref->db,
6737
- &table_ref->table->s->db) ||
+ DBUG_ASSERT(!cmp(&table_ref->db, &table_ref->table->s->db) ||
+ table_ref->table_function ||
6738
(table_ref->schema_table &&
6739
is_infoschema_db(&table_ref->table->s->db)) ||
6740
table_ref->is_materialized_derived());
0 commit comments