@@ -1061,9 +1061,7 @@ json_type(json_compact(3.14))
1061
1061
DOUBLE
1062
1062
select json_type(json_compact(3.14E30));
1063
1063
json_type(json_compact(3.14E30))
1064
- NULL
1065
- Warnings:
1066
- Warning 4038 Syntax error in JSON text in argument 1 to function 'json_type' at position 7
1064
+ DOUBLE
1067
1065
select json_type(json_compact(cast('10101abcde' as binary)));
1068
1066
json_type(json_compact(cast('10101abcde' as binary)))
1069
1067
INTEGER
@@ -3445,52 +3443,34 @@ JSON_ARRAY(CASE WHEN 1 THEN NULL ELSE NULL END)
3445
3443
#
3446
3444
SELECT JSON_EXTRACT('-1E-36181012216111515851075235238', '$');
3447
3445
JSON_EXTRACT('-1E-36181012216111515851075235238', '$')
3448
- NULL
3449
- Warnings:
3450
- Warning 4038 Syntax error in JSON text in argument 1 to function 'json_extract' at position 33
3446
+ -1E-36181012216111515851075235238
3451
3447
SELECT JSON_EXTRACT('1E-36181012216111515851075235238', '$');
3452
3448
JSON_EXTRACT('1E-36181012216111515851075235238', '$')
3453
- NULL
3454
- Warnings:
3455
- Warning 4038 Syntax error in JSON text in argument 1 to function 'json_extract' at position 32
3449
+ 1E-36181012216111515851075235238
3456
3450
SELECT JSON_EXTRACT('1E-325', '$');
3457
3451
JSON_EXTRACT('1E-325', '$')
3458
- NULL
3459
- Warnings:
3460
- Warning 4038 Syntax error in JSON text in argument 1 to function 'json_extract' at position 6
3452
+ 1E-325
3461
3453
SELECT JSON_EXTRACT('1E-324', '$');
3462
3454
JSON_EXTRACT('1E-324', '$')
3463
- NULL
3464
- Warnings:
3465
- Warning 4038 Syntax error in JSON text in argument 1 to function 'json_extract' at position 6
3455
+ 1E-324
3466
3456
SELECT JSON_EXTRACT('1E-323', '$');
3467
3457
JSON_EXTRACT('1E-323', '$')
3468
- NULL
3469
- Warnings:
3470
- Warning 4038 Syntax error in JSON text in argument 1 to function 'json_extract' at position 6
3458
+ 1E-323
3471
3459
SELECT JSON_EXTRACT('1E+308', '$');
3472
3460
JSON_EXTRACT('1E+308', '$')
3473
- NULL
3474
- Warnings:
3475
- Warning 4038 Syntax error in JSON text in argument 1 to function 'json_extract' at position 6
3461
+ 1E+308
3476
3462
error ER_INVALID_JSON_TEXT_IN_PARAM
3477
3463
SELECT JSON_EXTRACT('1E+309', '$');
3478
3464
JSON_EXTRACT('1E+309', '$')
3479
- NULL
3480
- Warnings:
3481
- Warning 4038 Syntax error in JSON text in argument 1 to function 'json_extract' at position 6
3465
+ 1E+309
3482
3466
error ER_INVALID_JSON_TEXT_IN_PARAM
3483
3467
SELECT JSON_EXTRACT('1E+36181012216111515851075235238', '$');
3484
3468
JSON_EXTRACT('1E+36181012216111515851075235238', '$')
3485
- NULL
3486
- Warnings:
3487
- Warning 4038 Syntax error in JSON text in argument 1 to function 'json_extract' at position 32
3469
+ 1E+36181012216111515851075235238
3488
3470
error ER_INVALID_JSON_TEXT_IN_PARAM
3489
3471
SELECT JSON_EXTRACT('-1E+36181012216111515851075235238', '$');
3490
3472
JSON_EXTRACT('-1E+36181012216111515851075235238', '$')
3491
- NULL
3492
- Warnings:
3493
- Warning 4038 Syntax error in JSON text in argument 1 to function 'json_extract' at position 33
3473
+ -1E+36181012216111515851075235238
3494
3474
#
3495
3475
# Bug#21383284: ASSERTION IN SELECT_LEX::SETUP_CONDS
3496
3476
#
0 commit comments