config root man

Current Path : /usr/opt/mysql57/mysql-test/include/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/opt/mysql57/mysql-test/include/print_greedy_search_count.inc

# include/print_greedy_search_count.inc
#
# SUMMARY
#
#    $query should be assigned a select statement. 
#    The query will be EXPLAINed and the number of 
#    partial plans greedy search went through to 
#    create the QEP is printed.
#
# USAGE
#
#    let $query= <query>;
#    --source include/print_greedy_search_count.inc
#
# EXAMPLE
#    t/greedy_search.test
#

eval EXPLAIN $query;

let $greedy_search_partial_plans=
  query_get_value(SHOW STATUS LIKE 'Last_query_partial_plans', Value, 1);

--echo ### Partial_plans: $greedy_search_partial_plans
FLUSH STATUS;

Man Man