Skip to content

Commit

Permalink
chore: use OBE error code (#2413)
Browse files Browse the repository at this point in the history
  • Loading branch information
yizhouxw authored May 17, 2024
1 parent b92222c commit df00feb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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

0 comments on commit df00feb

Please sign in to comment.