[fix](multi-catalog) fix not find dbname from internal catalog (#17119)

Signed-off-by: nextdreamblue <zxw520blue1@163.com>
fix not find dbname from internal catalog
This commit is contained in:
xueweizhang
2023-03-01 23:59:12 +08:00
committed by GitHub
parent 5523859fd5
commit bb88f2ec7d

View File

@ -298,7 +298,7 @@ public class MysqlProto {
context.getState().setError(ErrorCode.ERR_BAD_DB_ERROR, "No match catalog in doris: " + db);
return false;
}
if (catalogIf.getDbNullable(dbName) == null) {
if (catalogIf.getDbNullable(dbFullName) == null) {
context.getState().setError(ErrorCode.ERR_BAD_DB_ERROR, "No match database in doris: " + db);
return false;
}