1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

MDEV-7836: ANALYZE FORMAT=JSON should provide info about GROUP/ORDER BY

Fix EXPLAIN FORMAT=JSON to produce output that's not worse than
the tabular form.
This commit is contained in:
Sergei Petrunia
2015-04-12 06:07:58 +02:00
parent cc8da9b75a
commit 2bbf3b89f6
5 changed files with 103 additions and 48 deletions

View File

@ -479,13 +479,15 @@ EXPLAIN
"materialized": {
"query_block": {
"select_id": 2,
"temporary_table": {
"function": "buffer",
"table": {
"table_name": "t1",
"access_type": "ALL",
"rows": 10,
"filtered": 100
"filesort": {
"temporary_table": {
"function": "buffer",
"table": {
"table_name": "t1",
"access_type": "ALL",
"rows": 10,
"filtered": 100
}
}
}
}
@ -521,13 +523,15 @@ EXPLAIN
"materialized": {
"query_block": {
"select_id": 2,
"temporary_table": {
"function": "buffer",
"table": {
"table_name": "t1",
"access_type": "ALL",
"rows": 10,
"filtered": 100
"filesort": {
"temporary_table": {
"function": "buffer",
"table": {
"table_name": "t1",
"access_type": "ALL",
"rows": 10,
"filtered": 100
}
}
}
}