1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Test result fixed.

This commit is contained in:
Alexey Botchkov
2017-08-11 10:21:51 +04:00
parent 2ebb1380d6
commit 837aa57fb2

View File

@ -659,19 +659,13 @@ JSON_EXTRACT('{"name":"value"}', '$.name') = 'value'
1
select JSON_EXTRACT('{\"asdf\":true}', "$.\"asdf\"") = true;
JSON_EXTRACT('{\"asdf\":true}', "$.\"asdf\"") = true
0
Warnings:
Warning 1292 Truncated incorrect DOUBLE value: 'true'
1
select JSON_EXTRACT('{\"asdf\":true}', "$.\"asdf\"") = false;
JSON_EXTRACT('{\"asdf\":true}', "$.\"asdf\"") = false
1
Warnings:
Warning 1292 Truncated incorrect DOUBLE value: 'true'
0
select JSON_EXTRACT('{\"asdf\":true}', "$.\"asdf\"") = 1;
JSON_EXTRACT('{\"asdf\":true}', "$.\"asdf\"") = 1
0
Warnings:
Warning 1292 Truncated incorrect DOUBLE value: 'true'
1
select JSON_EXTRACT('{\"input1\":\"\\u00f6\"}', '$.\"input1\"');
JSON_EXTRACT('{\"input1\":\"\\u00f6\"}', '$.\"input1\"')
"\u00f6"