This commit is contained in:
Lukas Spiss 2025-08-26 16:02:01 -04:00 committed by GitHub
commit 4110b06b86
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 31 additions and 3 deletions

View file

@ -1878,7 +1878,7 @@ impl<'a> Iterator for ByteChunks<'a> {
impl QueryCursorHandle {
pub fn new() -> Self {
let mut cursor = QUERY_CURSORS.lock().pop().unwrap_or_default();
cursor.set_match_limit(64);
cursor.set_match_limit(1024);
QueryCursorHandle(Some(cursor))
}
}

View file

@ -946,6 +946,34 @@ mod tests {
name: "test case 2",
anotherStr: "bar",
},
{
name: "test case 3",
anotherStr: "fooo",
},
{
name: "test case 4",
anotherStr: "baar",
},
{
name: "test case 5",
anotherStr: "foooo",
},
{
name: "test case 6",
anotherStr: "baaar",
},
{
name: "test case 7",
anotherStr: "foooooo",
},
{
name: "test case 8",
anotherStr: "baaaar",
},
{
name: "test case 9",
anotherStr: "foooooooo",
},
}
notATableTest := []struct{
@ -1005,8 +1033,8 @@ mod tests {
go_test_count
);
assert!(
go_table_test_count == 2,
"Should find exactly 2 go-table-test-case, found: {}",
go_table_test_count == 9,
"Should find exactly 9 go-table-test-case, found: {}",
go_table_test_count
);
}