Add test.

This commit is contained in:
Vitaly Baranov 2021-03-23 21:01:40 +03:00
parent 1f4df07e08
commit fb3af77098
2 changed files with 8 additions and 0 deletions

View File

@ -4,3 +4,7 @@
0 0
0 0
0 0
0
0
0
0

View File

@ -3,6 +3,8 @@ SET allow_simdjson=1;
SELECT JSONLength('"HX-='); SELECT JSONLength('"HX-=');
SELECT JSONLength('[9]\0\x42\xD3\x36\xE3'); SELECT JSONLength('[9]\0\x42\xD3\x36\xE3');
SELECT JSONLength(unhex('5B30000E06D7AA5D')); SELECT JSONLength(unhex('5B30000E06D7AA5D'));
SELECT JSONLength('{"success"test:"123"}');
SELECT isValidJSON('{"success"test:"123"}');
SET allow_simdjson=0; SET allow_simdjson=0;
@ -10,3 +12,5 @@ SET allow_simdjson=0;
SELECT JSONLength('"HX-='); SELECT JSONLength('"HX-=');
SELECT JSONLength('[9]\0\x42\xD3\x36\xE3'); SELECT JSONLength('[9]\0\x42\xD3\x36\xE3');
SELECT JSONLength(unhex('5B30000E06D7AA5D')); SELECT JSONLength(unhex('5B30000E06D7AA5D'));
SELECT JSONLength('{"success"test:"123"}');
SELECT isValidJSON('{"success"test:"123"}');