diff --git a/pkg/cmd/roachtest/tests/sqlsmith.go b/pkg/cmd/roachtest/tests/sqlsmith.go index a21fb9876b14..cc0564f6a7ad 100644 --- a/pkg/cmd/roachtest/tests/sqlsmith.go +++ b/pkg/cmd/roachtest/tests/sqlsmith.go @@ -228,6 +228,11 @@ INSERT INTO seed_mr_table DEFAULT VALUES;`, regionList[0]), _, err := conn.Exec(stmt) if err == nil { logStmt(stmt) + stmt = "EXPLAIN " + stmt + _, err = conn.Exec(stmt) + if err == nil { + logStmt(stmt) + } } done <- err }(ctx)