Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: use OBE error code #2413

Merged
merged 1 commit into from
May 17, 2024
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
2 changes: 1 addition & 1 deletion distribution/docker/odc/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ COPY ./resources/*.rpm \
# 1. supervisor 的配置更新就是拷贝文件,然后通过 docker entrypoint 指定启动程序为 supervisord
# 2. timezone 的配置说明
# - 基础镜像 acs-reg.alipay.com/antstack/base:alios7u2_base 的缺省时区为 UTC
# - 设置为 UTC 时,oceanbase client 连接 oracle 租户会报 ORA-01882: timezone region 'UTC' not found
# - 设置为 UTC 时,oceanbase client 连接 oracle 租户会报 OBE-01882: timezone region 'UTC' not found
# - 为绕过此问题,设置时区为 Asia/Shanghai
# 3. 禁止 ssh 帐密登录,禁用 root 账号密码
RUN mkdir -p /etc/supervisor/conf.d \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ CREATE OR REPLACE PACKAGE dbms_utility AS
-- 2048 as the hash_size value. Using a power of 2 for the hash_size
-- parameter works best.
-- Exceptions:
-- ORA-29261 will be raised if hash_size is 0 or if hash_size or
-- OBE-29261 will be raised if hash_size is 0 or if hash_size or
-- base are null
FUNCTION GET_HASH_VALUE(NAME VARCHAR2, BASE NUMBER, HASH_SIZE NUMBER) RETURN NUMBER;
FUNCTION ICD_GET_TIME RETURN BINARY_INTEGER;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ private char[] compile(String pattern) {
*
* <code>
* obclient> set session nls_date_format='YYYY "asddsdd"';
* ORA-01821: date format not recognized
* OBE-01821: date format not recognized
* </code>
*
* 所以这里只考虑兼容 oracle 的行为就好
Expand Down