Fix the max_page_count pragma so that it will not set to a value smaller
than the current database size, as the documentation requires. Also, remove all occurances of atoi() from the core. FossilOrigin-Name: 2031974b606ef713b5f34522b2221470d98687c5
This commit is contained in:
+1
-1
@@ -1062,7 +1062,7 @@ do_execsql_test pager1-6.8 {
|
||||
} {11}
|
||||
do_execsql_test pager1-6.9 { COMMIT } {}
|
||||
|
||||
do_execsql_test pager1-6.10 { PRAGMA max_page_count = 10 } {10}
|
||||
do_execsql_test pager1-6.10 { PRAGMA max_page_count = 10 } {11}
|
||||
do_execsql_test pager1-6.11 { SELECT * FROM t11 } {1 2 3 4}
|
||||
do_execsql_test pager1-6.12 { PRAGMA max_page_count } {11}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user