1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-08 03:22:21 +03:00

Increase the maximum ruleset id in the fuzzer from 50 to 2^31-1.

FossilOrigin-Name: 760e009adc6d0fffb8e6f64c7ec283938a417a77
This commit is contained in:
drh
2012-02-14 18:56:01 +00:00
parent 5beafd6ab7
commit 6e5c5f4124
3 changed files with 11 additions and 11 deletions

View File

@@ -147,14 +147,14 @@ typedef struct fuzzer_stem fuzzer_stem;
*/
typedef int fuzzer_cost;
typedef signed char fuzzer_len;
typedef unsigned char fuzzer_ruleid;
typedef int fuzzer_ruleid;
/*
** Limits
*/
#define FUZZER_MX_LENGTH 50 /* Maximum length of a search string */
#define FUZZER_MX_RULEID 50 /* Maximum rule ID */
#define FUZZER_MX_COST 1000 /* Maximum single-rule cost */
#define FUZZER_MX_LENGTH 50 /* Maximum length of a search string */
#define FUZZER_MX_RULEID 2147483647 /* Maximum rule ID */
#define FUZZER_MX_COST 1000 /* Maximum single-rule cost */
/*