Repository navigation
Conversation
This was referenced Oct 9, 2026
efeire
marked this pull request as ready for review
October 10, 2026 06:58
Contributor
🌐 I18n autofill completed✅ Added translations for 2 new
|
efeire
marked this pull request as draft
October 10, 2026 09:43
This was referenced Oct 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Refs #11470,依赖 #11483。OceanBase Oracle 对象列表未读取 STATUS,有效和无效对象都显示为未知;现在透传有效、无效和未知三态,保留包规格/包体及刷新行为。
真实普通账号执行无权限的编译语句时,驱动还会把 ORA-01031 包装成多层连接异常,错误被误显示为连接中断。现在只识别同一权限错误的已知 OceanBase 包装链,显示 SQL 权限错误;真实连接异常、异码及其他异常链保留原分类。未改变未知执行结果、隔离连接或重试策略。错误位置偏移算法未修改,独立编译由 #11454 负责。
Evidence
Before: 用普通账号执行无权限的 ALTER COMPILE,驱动包装 ORA-01031 后,旧界面把权限错误显示为连接中断;对象列表未读取 STATUS 时也不能区分 VALID 与 INVALID。
After: 对象列表 Java 32 项、未变前端 72 项、权限定向 6 项有通过记录;独立兼容组合 Java 40 项通过。真实普通账号经生产普通查询和分页 API 返回 SQL 权限错误 1031/HY000,独立核对源码、身份、状态与数据未变,专用账号清理。两个 API 不代替 GUI;多行、中文/emoji、注释/PLSQL 错误定位及两引擎状态刷新仍待。
Merge Danger
Door: two-way(代码);已经执行的数据或 DDL 变更按实际状态单独恢复。
Blast Radius: 数据库工具
两引擎状态刷新与权限、真实多行/中文/emoji/注释/PLSQL 错误的位置单位和起点、Web/Tauri GUI 等仍待完整验收;原生 Oracle/OCI 暂缓。仅使用专用隔离对象。
自动化状态与界面预览
自动预览只代表对应提交和沙盒场景,不能替代目标数据库的实库验收。
界面预览
当前提交的自动预览记录。以下沙盒截图/录屏展示相关界面,不能代替目标数据库验收;实际测试结果与未验范围见Evidence。