feat(goldendb): 新增 GoldenDB 数据库连接支持

Refs #477
This commit is contained in:
Syngnat
2026-06-13 21:42:18 +08:00
parent 0ff17dc27c
commit 12fbc7ecf4
39 changed files with 324 additions and 34 deletions

View File

@@ -186,7 +186,7 @@ const isSystemMetadataQueryResult = (tableRef: QueryResultTableRef, dbType: stri
const metadataDbName = stripQueryIdentifierQuotes(tableRef.metadataDbName).toLowerCase();
const metadataTableName = stripQueryIdentifierQuotes(tableRef.metadataTableName).toLowerCase();
if (['mysql', 'mariadb', 'oceanbase', 'diros', 'starrocks', 'sphinx', 'tidb'].includes(normalizedDbType)) {
if (['mysql', 'goldendb', 'mariadb', 'oceanbase', 'diros', 'starrocks', 'sphinx', 'tidb'].includes(normalizedDbType)) {
return MYSQL_SYSTEM_METADATA_SCHEMAS.has(metadataDbName);
}
if (['postgres', 'kingbase', 'highgo', 'vastbase', 'opengauss', 'gaussdb'].includes(normalizedDbType)) {