CLI improvements. In the .check command, ignore leading and trailing
whitespace unless the --exact option is used. In the .limit command, do not print the new limit when changing the limit, but only when requesting the current value of the limit. FossilOrigin-Name: d72cb66d672d514822b2fbb0be8880377628599f1f8e2a219d36791c125c6242
This commit is contained in:
+4
-4
@@ -19,14 +19,14 @@
|
||||
-- 0 1 2 3 4
|
||||
-- 123456789 123456789 123456789 123456789 123
|
||||
SELECT 'abcdefg' REGEXP '((((((((((((((((((abcdefg))))))))))))))))))';
|
||||
.check "1\n"
|
||||
.check 1
|
||||
|
||||
.limit like_pattern_length 42
|
||||
.testcase 110
|
||||
.limit like_pattern_length 42
|
||||
SELECT 'abcdefg' REGEXP '((((((((((((((((((abcdefg))))))))))))))))))';
|
||||
.check -glob "Error near line #: REGEXP pattern too big*"
|
||||
|
||||
.limit like_pattern_length 43
|
||||
.testcase 120
|
||||
.limit like_pattern_length 43
|
||||
SELECT 'abcdefg' REGEXP '((((((((((((((((((abcdefg))))))))))))))))))';
|
||||
.check "1\n"
|
||||
.check 1
|
||||
|
||||
Reference in New Issue
Block a user