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

修复OceanBase validateQuery问题 #4966

Closed
wants to merge 1 commit into from
Closed

Conversation

PeppaO
Copy link
Contributor

@PeppaO PeppaO commented Oct 19, 2022

当前druid针对oceanbase区分租户的方式是通过jdbc中前缀,但是其实oceanbase无论是mysql租户还是oracle租户jdbc连接方式都可以是jdbc:oceanbase://host:port,所以这种区分方式是不准确的(会报错),目前oceanbase内部区分主要是通过与ob server通信,获取当前是什么租户,然后在oceanbaseBaseConnection中protocol中isOracleMode判断是否是oracle租户

@CLAassistant
Copy link

CLAassistant commented Oct 19, 2022

CLA assistant check
All committers have signed the CLA.

@PeppaO
Copy link
Contributor Author

PeppaO commented Oct 20, 2022

已验证测试通过

@PeppaO
Copy link
Contributor Author

PeppaO commented Oct 20, 2022

等待OB驱动包开源到maven仓库中,目前我是手动安装到本地仓库的

@PeppaO PeppaO closed this Oct 20, 2022
@PeppaO PeppaO deleted the fix_fdr branch October 20, 2022 04:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants