the join in CodeIgniter\Database\MySQLi\Connection::_foreignKeyData() is joining over CONSTRAINT_NAME only, but not over CONSTRAINT_SCHEMA, so if there are multiple databases (schemas) containing constraints with the same names _foreignKeyData() will return duplicated rows with metadata also from the other databases (schemas).
I guess this is where the bug was created: 12ea7ba
CI 4.1.3
the join in
CodeIgniter\Database\MySQLi\Connection::_foreignKeyData()is joining overCONSTRAINT_NAMEonly, but not overCONSTRAINT_SCHEMA, so if there are multiple databases (schemas) containing constraints with the same names_foreignKeyData()will return duplicated rows with metadata also from the other databases (schemas).I guess this is where the bug was created: 12ea7ba
CI 4.1.3