We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f7e00a commit f060202Copy full SHA for f060202
pkg/sql/exec_util.go
@@ -769,7 +769,7 @@ var createTableWithSchemaLockedDefault = true
769
// TestForceDisableCreateTableWithSchemaLocked disables schema_locked create table
770
// in entire packages.
771
func TestForceDisableCreateTableWithSchemaLocked() {
772
- if !buildutil.CrdbTestBuild {
+ if !buildutil.CrdbTestBuild && !buildutil.CrdbBenchBuild {
773
panic("Testing override for schema_locked used in non-test binary.")
774
}
775
createTableWithSchemaLockedDefault = false
0 commit comments