Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ com.oceanbase.odc.ErrorCodes.ObGetExecuteDetailFailed=Failed to fetch the execut
com.oceanbase.odc.ErrorCodes.ObGetPlanExplainFailed=Failed to fetch the execution plan due to possible syntax error or invalid DDL statement. Details: {0}.
com.oceanbase.odc.ErrorCodes.ObGetPlanExplainEmpty=Unable to fetch the execution plan due to possible syntax error, invalid DDL statement, or unsupported command. Details: {0}.
com.oceanbase.odc.ErrorCodes.ObGetFullLinkTraceFailed=Failed to fetch information on end-to-end trace. Please check if the session variable 'ob_enable_show_trace' is set to 'ON'.
com.oceanbase.odc.ErrorCodes.ObFullLinkTraceNotSupported=End-to-end trace is only available for OceanBase Database with versions higher than 4.0.
com.oceanbase.odc.ErrorCodes.ObFullLinkTraceNotSupported=End-to-end trace is only available for OceanBase Database with versions equal to or greater than 4.2.
com.oceanbase.odc.ErrorCodes.ObFullLinkTraceNotEnabled=End-to-end trace is currently not enabled. You can configure it to be enabled by default in personal settings.
com.oceanbase.odc.ErrorCodes.ObPreCheckDdlFailed=DDL pre-check failed. Details: {0}.
com.oceanbase.odc.ErrorCodes.ObCopySchemaFailed=Failed to copy the schema. Details: {0}.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ com.oceanbase.odc.ErrorCodes.ObGetExecuteDetailFailed=无法获取执行详情
com.oceanbase.odc.ErrorCodes.ObGetPlanExplainFailed=获取执行计划失败,可能是语法错误或者 DDL 语句,错误详情:{0}
com.oceanbase.odc.ErrorCodes.ObGetPlanExplainEmpty=无法获取执行计划,可能是语法错误或者 DDL 语句,或者是一些不支持的命令,错误详情:{0}
com.oceanbase.odc.ErrorCodes.ObGetFullLinkTraceFailed=获取全链路追踪信息失败,请检查会话变量 'ob_enable_show_trace' 是否为 'ON'
com.oceanbase.odc.ErrorCodes.ObFullLinkTraceNotSupported=全链路追踪仅在高于 4.0 的 OceanBase 版本上可用
com.oceanbase.odc.ErrorCodes.ObFullLinkTraceNotSupported=全链路追踪仅在高于或等于 4.2 的 OceanBase 版本上可用
com.oceanbase.odc.ErrorCodes.ObFullLinkTraceNotEnabled=全链路追踪功能未启用,您可以在个人设置配置默认启用全链路追踪功能
com.oceanbase.odc.ErrorCodes.ObPreCheckDdlFailed=DDL 预检查失败,错误详情:{0}
com.oceanbase.odc.ErrorCodes.ObInvalidObjectTypesForRecyclebin=当前操作的回收站对象 {0} 的类型为 {1},不在支持的对象类型范围内,支持的类型:{2}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ com.oceanbase.odc.ErrorCodes.ObGetPlanExplainFailed=獲取執行計劃失敗,
com.oceanbase.odc.ErrorCodes.ObGetPlanExplainEmpty=無法獲取執行計劃,可能是語法錯誤或者 DDL 語句,或者是一些不支持的命令,錯誤詳情:{0}
com.oceanbase.odc.ErrorCodes.ObGetFullLinkTraceFailed=獲取全鏈路追蹤信息失敗,請檢查會話變量 'ob_enable_show_trace' 是否為 'ON'
com.oceanbase.odc.ErrorCodes.ObFullLinkTraceNotEnabled=全鏈路追蹤功能尚未啟用,您可以在個人設定中配置預設啟用全鏈路追蹤功能
com.oceanbase.odc.ErrorCodes.ObFullLinkTraceNotSupported=全鏈路追蹤僅在高於 4.0 的 OceanBase 版本上可用
com.oceanbase.odc.ErrorCodes.ObFullLinkTraceNotSupported=全鏈路追蹤僅在高于或等于 4.2 的 OceanBase 版本上可用
com.oceanbase.odc.ErrorCodes.ObPreCheckDdlFailed=DDL 預檢查失敗,錯誤詳情:{0}
com.oceanbase.odc.ErrorCodes.ObCopySchemaFailed=複製 Schema 失敗,錯誤詳情:{0}
com.oceanbase.odc.ErrorCodes.ObInvalidObjectTypesForRecyclebin=當前操作的回收站對象 {0} 的類型為 {1},不在支持的對像類型範圍內,支持的類型:{2}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ private SqlExecTime getTraceIdAndAndSetStage(Statement statement, TraceWatch tra
StopWatch stopWatch = StopWatch.createStarted();
String version = ConnectionSessionUtil.getVersion(connectionSession);
SqlExecTime executeDetails = new SqlExecTime();;
if (useFullLinkTrace && VersionUtils.isGreaterThanOrEqualsTo(version, "4.1") &&
if (useFullLinkTrace && VersionUtils.isGreaterThanOrEqualsTo(version, "4.2") &&
connectionSession.getDialectType().isOceanbase()) {
try {
executeDetails = FullLinkTraceUtil.getFullLinkTraceDetail(statement, fullLinkTraceTimeout);
Expand Down