# We want to make sure that the common case of # a connection which has not enabled tracing, # is optimized, i.e. neither Opt_trace_context_impl nor # Opt_trace_context_stmt is created. set debug="d,no_new_opt_trace_stmt"; select 1; 1 1 select * from information_schema.OPTIMIZER_TRACE; QUERY TRACE MISSING_BYTES_BEYOND_MAX_MEM_SIZE INSUFFICIENT_PRIVILEGES set @a=25; set debug="default"; set optimizer_trace="enabled=on"; select 2; 2 2 select * from information_schema.OPTIMIZER_TRACE; QUERY TRACE MISSING_BYTES_BEYOND_MAX_MEM_SIZE INSUFFICIENT_PRIVILEGES select 2 { "steps": [ { "join_preparation": { "select#": 1, "steps": [ { "expanded_query": "/* select#1 */ select 2 AS `2`" } ] } }, { "join_optimization": { "select#": 1, "steps": [ ] } }, { "join_execution": { "select#": 1, "steps": [ ] } } ] } 0 0 set optimizer_trace="enabled=off"; set debug="d,no_new_opt_trace_stmt"; select 3; 3 3 select * from information_schema.OPTIMIZER_TRACE; QUERY TRACE MISSING_BYTES_BEYOND_MAX_MEM_SIZE INSUFFICIENT_PRIVILEGES select 2 { "steps": [ { "join_preparation": { "select#": 1, "steps": [ { "expanded_query": "/* select#1 */ select 2 AS `2`" } ] } }, { "join_optimization": { "select#": 1, "steps": [ ] } }, { "join_execution": { "select#": 1, "steps": [ ] } } ] } 0 0
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
bugs_no_prot_all.result | File | 103.8 KB | 0644 |
|
bugs_no_prot_none.result | File | 87.97 KB | 0644 |
|
bugs_ps_prot_all.result | File | 103.8 KB | 0644 |
|
bugs_ps_prot_none.result | File | 86.81 KB | 0644 |
|
charset.result | File | 21.33 KB | 0644 |
|
debug.result | File | 1.56 KB | 0644 |
|
eq_range_statistics.result | File | 50.94 KB | 0644 |
|
filesort_pq.result | File | 290.22 KB | 0644 |
|
general2_no_prot.result | File | 180.14 KB | 0644 |
|
general2_ps_prot.result | File | 180.87 KB | 0644 |
|
general_no_prot_all.result | File | 402.27 KB | 0644 |
|
general_no_prot_none.result | File | 379.17 KB | 0644 |
|
general_ps_prot_all.result | File | 400.32 KB | 0644 |
|
general_ps_prot_none.result | File | 376.27 KB | 0644 |
|
range_no_prot.result | File | 220.87 KB | 0644 |
|
range_ps_prot.result | File | 220.87 KB | 0644 |
|
security_no_prot.result | File | 32.37 KB | 0644 |
|
security_ps_prot.result | File | 33.56 KB | 0644 |
|
subquery_no_prot.result | File | 97.46 KB | 0644 |
|
subquery_ps_prot.result | File | 96.35 KB | 0644 |
|
temp_table.result | File | 37.04 KB | 0644 |
|