Skip to content

Commit c8ba206

Browse files
authored
Merge pull request #120 from rafiss/fix-tenant-version-check
Check for null in unstable field of cluster version
2 parents 5c392f1 + e30bc3c commit c8ba206

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/main_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ func testORM(t *testing.T, info testInfo) {
249249
var tenantsSupported bool
250250
if err := db.QueryRow(`
251251
SELECT
252-
(major = 20 AND minor = 1 AND unstable > 17)
252+
(major = 20 AND minor = 1 AND (unstable IS NOT NULL AND unstable > 17))
253253
OR (major = 20 AND minor > 1)
254254
OR (major > 20)
255255
FROM

0 commit comments

Comments
 (0)