Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: delete order by (#16094)

Danny Xueca10cee3059
diff --git a/backend/plugin/db/tidb/sync.go b/backend/plugin/db/tidb/sync.go
index 165a97f569..f0ffb50d3a 100644
--- a/backend/plugin/db/tidb/sync.go
+++ b/backend/plugin/db/tidb/sync.go
@@ -149,8 +149,7 @@ func (d *Driver) SyncDBSchema(ctx context.Context) (*storepb.DatabaseSchemaMetad
SUB_PART,
EXPRESSION
FROM information_schema.TIDB_INDEXES
- WHERE TABLE_SCHEMA = ?
- ORDER BY TABLE_NAME, KEY_NAME, SEQ_IN_INDEX`
+ WHERE TABLE_SCHEMA = ?`
indexRows, err := d.db.QueryContext(ctx, indexQuery, d.databaseName)
if err != nil {
return nil, util.FormatErrorWithQuery(err, indexQuery)