From 9376d68f73619ef04c319e1f85018153917a44c8 Mon Sep 17 00:00:00 2001 From: Piotr Sarna Date: Sat, 6 Jul 2024 10:53:06 +0200 Subject: [PATCH] testing: add a test for limit 0 --- testing/all.test | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/testing/all.test b/testing/all.test index 7714788a8..2b07aecf6 100755 --- a/testing/all.test +++ b/testing/all.test @@ -43,6 +43,10 @@ do_execsql_test select-limit { SELECT id FROM users LIMIT 1; } {1} +do_execsql_test select-limit-0 { + SELECT id FROM users LIMIT 0; +} {} + do_execsql_test pragma-cache-size { PRAGMA cache_size } {-2000}