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

fix: 修复表字段有大小写情况下,返回结果被转成小写造成使用方不便的问题 #556

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

maskwang
Copy link
Contributor

场景:
比如表有个字段userId, 通过KS获取,结果会返回userid。 线上部署使用的是KS, 而开发过程中,使用的是MySQL,这就造成了一个严重的问题, 开发和测试发现不了问题,一上线就炸了。

现象:
select * from xxx 的时候, 返回的字段是原始字段, 比如上面的 userId

select userId from xx 的时候, 返回的字段就被转小写的,比如上面的会返回 userid

image
image

@maskwang maskwang requested a review from flike January 21, 2020 02:56
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.

1 participant