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

[ bug ]SQL查询时,字段内容有2个空格,展示出来却变成了1个空格 #1442

Closed
michael-liumh opened this issue Apr 2, 2022 · 0 comments · Fixed by #1449
Closed

Comments

@michael-liumh
Copy link

在提交 issue 前,请查阅以下资源,请先进行搜索来保证没有类似的 issue。
文档 | FAQ

重现步骤

  1. 建表
create table t1(id bigint primary key auto_increment, name varchar(50));
  1. 插入数据
insert into t1 values (1, '123 456'),(2,'123  456');
  1. 数据库查看表数据
select * from t1;

image

  1. 审核平台查看数据
    image

期待结果和实际结果

期待结果:
平台显示的结果与数据库里显示的一致
实际结果:
平台显示的结果与数据库里显示的不一致(多个空格会自动变成1个)

截图

数据库结果
image
平台显示结果
image

错误日志

版本信息

应用版本/分支:v1.8.3

部署方式:Docker、手工部署
Docker

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 a pull request may close this issue.

1 participant