From 258215ad971cc5b08bea450bcec6d7ef591c15ae Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Mon, 28 Oct 2024 15:54:39 -0700 Subject: [PATCH] Improved test [skip ci] --- test/expected/hnsw_vector.out | 2 ++ test/sql/hnsw_vector.sql | 1 + 2 files changed, 3 insertions(+) diff --git a/test/expected/hnsw_vector.out b/test/expected/hnsw_vector.out index a1012fa..29ea724 100644 --- a/test/expected/hnsw_vector.out +++ b/test/expected/hnsw_vector.out @@ -190,4 +190,6 @@ SHOW hnsw.scan_mem_multiplier; SET hnsw.scan_mem_multiplier = 0; ERROR: 0 is outside the valid range for parameter "hnsw.scan_mem_multiplier" (1 .. 1000) +SET hnsw.scan_mem_multiplier = 1001; +ERROR: 1001 is outside the valid range for parameter "hnsw.scan_mem_multiplier" (1 .. 1000) DROP TABLE t; diff --git a/test/sql/hnsw_vector.sql b/test/sql/hnsw_vector.sql index 868e467..184d65f 100644 --- a/test/sql/hnsw_vector.sql +++ b/test/sql/hnsw_vector.sql @@ -109,5 +109,6 @@ SET hnsw.max_scan_tuples = 0; SHOW hnsw.scan_mem_multiplier; SET hnsw.scan_mem_multiplier = 0; +SET hnsw.scan_mem_multiplier = 1001; DROP TABLE t;