Skip to content

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

chore: fix record bool (#11059)

Danny Xu0d84f2782091
diff --git a/backend/plugin/parser/tsql/batch/batch_test.go b/backend/plugin/parser/tsql/batch/batch_test.go
index b85ceadbc6..39f0d3eaee 100644
--- a/backend/plugin/parser/tsql/batch/batch_test.go
+++ b/backend/plugin/parser/tsql/batch/batch_test.go
@@ -76,7 +76,9 @@ func TestBatch(t *testing.T) {
var testCases []TestCase
a.NoError(yaml.Unmarshal(bytes, &testCases))
- var record = true
+ const (
+ record = false
+ )
for i, tc := range testCases {
batchResults := getBatchResults(a, tc.Input)
if record {
diff --git a/backend/plugin/schema/mysql/get_design_schema_test.go b/backend/plugin/schema/mysql/get_design_schema_test.go
index 628288a3e8..a6bd6f9af8 100644
--- a/backend/plugin/schema/mysql/get_design_schema_test.go
+++ b/backend/plugin/schema/mysql/get_design_schema_test.go
@@ -22,7 +22,7 @@ func TestGetDesignSchema(t *testing.T) {
}
const (
- record = true
+ record = false
)
var (
filepaths = []string{