Skip to content

库表元数据扫描任务执行失败:Error 1390 #3024

@iwanghc

Description

@iwanghc

版本信息(Version)

v4.2504-pre3

问题描述(Describe)

库表元数据扫描任务执行后报错,占位符过多
Error 1390: Prepared statement contains too many placeholders

截图或日志(Log)

Image

如何复现(To Reproduce)

在数据库中创建6000张以上的表,然后启用库表元数据扫描任务采集这个库

问题原因

在一个sql 语句中,最大占位符数量是有限制的
mysql-server-system-variables.

解决方案

批量插入

变更影响面

受影响的模块或功能

外部引用的潜在问题或风险

版本兼容性

测试建议

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions