From 5f6d17ba98b18d7f71c8a98685dc372ba0e8951c Mon Sep 17 00:00:00 2001 From: Brian Dillmann Date: Mon, 29 Sep 2025 16:09:48 -0400 Subject: [PATCH] see if I can fix the example orms issue --- testing/main_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/testing/main_test.go b/testing/main_test.go index f507895dc7..ed20bd8df8 100644 --- a/testing/main_test.go +++ b/testing/main_test.go @@ -112,6 +112,9 @@ func startServerWithApplication( func getVersionFromDB(t *testing.T, db *sql.DB) *version.Version { t.Helper() var crdbVersion string + if _, err := db.Exec(`SET allow_unsafe_internals=true`); err != nil { + t.Fatal(err) + } if err := db.QueryRow( `SELECT value FROM crdb_internal.node_build_info where field = 'Version'`, ).Scan(&crdbVersion); err != nil {