mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-08 09:44:21 +01:00
Fuzz: modify rowid_seek_fuzz so that it catches this regression in the future
This commit is contained in:
@@ -51,7 +51,7 @@ mod tests {
|
||||
|
||||
let insert = format!(
|
||||
"INSERT INTO t VALUES {}",
|
||||
(1..10000)
|
||||
(1..2000)
|
||||
.map(|x| format!("({})", x))
|
||||
.collect::<Vec<_>>()
|
||||
.join(", ")
|
||||
@@ -71,9 +71,9 @@ mod tests {
|
||||
|
||||
for comp in COMPARISONS.iter() {
|
||||
for order_by in ORDER_BY.iter() {
|
||||
for max in 0..=10000 {
|
||||
for max in 0..=2000 {
|
||||
let query = format!(
|
||||
"SELECT * FROM t WHERE x {} {} {} LIMIT 3",
|
||||
"SELECT * FROM t WHERE x {} {} {}",
|
||||
comp,
|
||||
max,
|
||||
order_by.unwrap_or("")
|
||||
|
||||
Reference in New Issue
Block a user