~akopytov/percona-server/slow_extended_and_rtd_fixes

Viewing all changes in revision 256.

  • Committer: Alexey Kopytov
  • Date: 2011-07-27 05:08:49 UTC
  • mfrom: (249.1.2 ps_5.1)
  • Revision ID: akopytov@gmail.com-20110727050849-sgq8a8vgc5r80utq
Merged and fixed Oleg's changes in slow_extended.patch and
response_time_distribution.patch:

* Removed 'percona' suite, as that migration should be done for all
tests when decided
* replaced SET SESSION debug = "+d,query_exec_time" and /* query_exec_time=...*/ comments
with a debug-only system variable (which is also replicated to make
replication tests possible)
* replaced ugly macros in slow_extended patch with inline functions
* changed all slow_extended and response_time_distribution tests to use the system variable
* fixed percona_query_response_time-replication.test to actually test what it is supposed to test,
i.e. queries coming from SBR rather than running them on the slave
(which is no different from the "normal" QRT test)
* fixed broken percona_query_response_time-stored.test:
** wasn't really testing stored routines due to a wrong include
** specifying stored proc argument in a /* query_exec_time=...*/ comment didn't really work
** TIME is a reserved word, so using it as a variable name is not a good idea
** stored proc was trying to INSERT into a non-existing table
* moved error_pad.patch before response_time_distribution.patch in series as the latter
depends on the first one (as in does not build)

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: