Sergei Petrunia
d6371d3a8e
Combined fix for MDEV-7267 and MDEV-8864
...
The problem was that GROUP BY code created Item_field objects
that referred to fields in the temp. tables used for GROUP BY.
Item_ref and set_items_ref_array() call caused pointers to temp.
table fields to occur in many places.
This patch introduces Item_temptable_field, which can handle
item->print() calls made after the underlying table is freed.
2015-10-06 18:03:10 +03:00
Oleksandr Byelkin
139ce6cb18
fix for 32bit system. Not meaninful for this test but volatile parameters replaced.
2015-09-21 15:17:06 +02:00
Oleksandr Byelkin
da3ec3d421
MDEV-7970: EXPLAIN FORMAT=JSON does not print HAVING
...
Printing non-trivial HAVING added.
2015-09-18 16:08:13 +02:00
Sergei Petrunia
7d9e94e2e6
MDEV-7916: main.analyze_format_json fails in buildbot on labrador
...
Make the test work on case insensitive FS
2015-04-06 19:37:37 +03:00
Sergei Petrunia
47c344b00f
MDEV-7904: ANALYZE FORMAT=JSON doesn't print r_rows for union output
...
Print r_rows. There is no table tracking for reading from tmp table, yet.
2015-04-04 00:47:10 +03:00
Oleksandr Byelkin
a220905083
MDEV-7833:ANALYZE FORMAT=JSON and Range checked for each record
2015-04-03 15:37:27 +02:00
Oleksandr Byelkin
b2a1187307
MDEV-7812: ANALYZE FORMAT=JSON UPDATE/DELETE doesnt print the r_total_time_ms
...
Tracking total time added in UPDATE/DELETE
Fixed selectivity calculation in UPDATE/DELETE
Macro definitions of time tracting fixed.
2015-03-29 15:33:15 +02:00
Sergei Petrunia
1626e0d3d4
MDEV-7648: Extra data in ANALYZE FORMAT=JSON $stmt
...
Show total execution time (r_total_time_ms) for various parts of the
query:
1. time spent in SELECTs
2. time spent reading rows from storage engines
#2 currently gets the data from P_S.
2015-03-07 22:47:28 +03:00
Sergei Petrunia
2288b84df4
MDEV-7679: ANALYZE crashes when printing WHERE when no default db
...
Fix Item_ident::print() to work when there is no current database
2015-03-07 20:51:35 +03:00
Sergei Petrunia
66ad265f3b
MDEV-7674: ANALYZE shows r_rows=0
...
Change r_rows to be double
2015-03-07 19:30:19 +03:00
Sergei Petrunia
d6e8816435
Make analyze_format_json.test work on case-insensitive FS.
2014-12-02 10:35:28 +03:00
Sergei Petrunia
e235bb864d
ANALYZE FORMAT=JSON: better output and tests
...
- Print r_loops
- Always print r_* members. Print NULL values if no scans took place
- Added testcases.
2014-11-29 03:07:24 +03:00