Skip to content

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

fix: notify message when explaining redis command (#13163)

monitor1379c593c026cf3f
diff --git a/backend/plugin/db/redis/redis.go b/backend/plugin/db/redis/redis.go
index 95194f4028..b9763783dd 100644
--- a/backend/plugin/db/redis/redis.go
+++ b/backend/plugin/db/redis/redis.go
@@ -224,7 +224,7 @@ func (*Driver) Dump(_ context.Context, _ io.Writer) (string, error) {
// QueryConn queries a SQL statement in a given connection.
func (d *Driver) QueryConn(ctx context.Context, _ *sql.Conn, statement string, queryContext *db.QueryContext) ([]*v1pb.QueryResult, error) {
if queryContext != nil && queryContext.Explain {
- return nil, errors.New("MongoDB does not support EXPLAIN")
+ return nil, errors.New("Redis does not support EXPLAIN")
}
startTime := time.Now()