fix(oceanbase-oracle): preserve quoted identifier case

This commit is contained in:
Mo-Moore authored and GitHub committed 2026-09-18 17:34:58 +08:00
1 parent 8168114734
commit 0c5a456aed
3 files changed
+145 -32

No files matched your search

@@ -311,6 +311,13 @@ describe("call-site navigation helpers", () => {
});
});
it("folds unquoted Oracle schema and table navigation targets", () => {
expect(normalizeOracleNavigationTarget({ name: "emp", schema: "hr" })).toEqual({
name: "EMP",
schema: "HR",
});
});
it("preserves quoted package.member mixed-case identities", () => {
const sql = 'BEGIN\n "Pkg"."Member"();\nEND;';
const identity = resolveSqlObjectNavigationIdentity(sql, sql.indexOf("Member"));