From: Martin Zaun Date: February 22 2011 9:29pm Subject: bzr commit into mysql-5.1-telco-7.1 branch (martin.zaun:4107) List-Archive: http://lists.mysql.com/commits/131888 Message-Id: <201102222130.p1MK0U32009688@acsinet15.oracle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0405208312679093219==" --===============0405208312679093219== MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline #At file:///Users/mz/mysql/ndb-7.1/ based on revid:martin.zaun@stripped 4107 Martin Zaun 2011-02-22 [merge] merge from 7.0 to 7.1 added: mysql-test/include/execute_with_statistics.inc modified: mysql-test/r/greedy_optimizer.result mysql-test/t/greedy_optimizer.test storage/ndb/src/kernel/vm/LongSignal.cpp storage/ndb/src/kernel/vm/TransporterCallback.cpp storage/ndb/src/mgmsrv/ConfigManager.cpp storage/ndb/src/mgmsrv/ConfigManager.hpp storage/ndb/test/ndbapi/testMgm.cpp === added file 'mysql-test/include/execute_with_statistics.inc' --- a/mysql-test/include/execute_with_statistics.inc 1970-01-01 00:00:00 +0000 +++ b/mysql-test/include/execute_with_statistics.inc 2011-02-22 17:44:38 +0000 @@ -0,0 +1,28 @@ +# include/execute_with_statistics.inc +# +# SUMMARY +# +# Explain and execute the select statment in $query. +# Then report 'Last_query_cost' estimate from the query +# optimizer and total number of 'Handler_read%' when the +# query was executed. +# Intended usage is to verify that there are not regressions +# in either calculated or actuall cost for $query. +# +# USAGE +# +# let $query=