[CP] [FEAT MERGE]:pl 4.2.2 version feature dev

This commit is contained in:
hanr881
2024-03-28 10:50:18 +00:00
committed by ob-robot
parent 4171f32387
commit 4130e898e3
56 changed files with 2660 additions and 531 deletions

View File

@ -434,7 +434,7 @@ int ObPlanCacheObject::type_to_name(const ObLibCacheNameSpace ns,
common::ObString &type_name)
{
int ret = OB_SUCCESS;
const char* type_strs[] = {"NS_INVALID", "SQL_PLAN", "PROCEDURE", "FUNCTION", "ANONYMOUS", "TRIGGER", "PACKAGE", "NS_MAX"};
const char* type_strs[] = {"NS_INVALID", "SQL_PLAN", "PROCEDURE", "FUNCTION", "ANONYMOUS", "TRIGGER", "PACKAGE", "TABLEAPI", "CALLSTMT", "NS_MAX"};
char *buf = NULL;
if (ns <= NS_INVALID || ns >= NS_MAX) {
ret = OB_INVALID_ARGUMENT;