lp:~tsarev/percona-server/18580

Created by Oleg Tsarev on 2011-11-30 and last modified on 2011-12-28
Get this branch:
bzr branch lp:~tsarev/percona-server/18580
Only Oleg Tsarev can upload to this branch. If you are Oleg Tsarev please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Recent revisions

411. By Oleg Tsarev on 2011-12-28

Issue #18580 - fix mysqldumpslow script, now works with Percona-Server slow query log format

Related changes:
  1. mysql-test/mysql-test-run.pl now defines enviroment variable MYSQLDUMPSLOW with path to mysqldumpslow script
  2. test mysql-test/t/percona_mysqldumpslow.test (and result)
    * iterate over all combination of slow query log variables:
    * log_slow_timestamp_every
    * log_slow_verbosity
    * log_slow_sp_statements
    * slow_query_log_microseconds_timestamp
    * log_slow_admin_statements
    * check output of mysqldumpslow on result slow query log file
  3. scripts/mysqldumpslow:
    * look ahead two paragraphs for detect of situation with admin statement. Originally script split all input by string ";\n#". Unfortunatelly, percona slow query log has a situation like:
      ...
      SET timestamp=XXX;
      # administator command: Quit;
      # ...
    As result, mysqldumpslow split this paragraph to two separated. Look ahead fixed this.
    * Remove from input additional fields (added by Percona-Server)
    * Without "-a" mode also replace InnoDB Transaction ID by N, "Yes" and "No" by S.
    * Fixed bug with situation, when mysqldumpslow run with "-t X", and slow query log has Y paragraphs: in case when X > Y, mysqldumpslow break with error.
  4. Added debug variables slow_query_log_query_time and slow_query_log_lock_time - way for direct change of value, witch will write to slow query log for following queries. Also moved under #ifndef DBUG_OFF all related to query exec time.

410. By Stewart Smith on 2011-11-29

fix version number in Makefile

409. By Stewart Smith on 2011-11-24

merge makefile fix

408. By Stewart Smith on 2011-11-24

port Percona Server 5.1 to MySQL 5.1.60 base

407. By Stewart Smith on 2011-11-24

remove now unneeded patches as we're part of a happy bzr tree

406. By Stewart Smith on 2011-11-24

fix Makefile for building Percona Server as bzr brancH

405. By Stewart Smith on 2011-11-24

Import Percona Server patch: bug45702.patch

404. By Stewart Smith on 2011-11-24

Import Percona Server patch: bug860910.patch

# name : bug860910.patch
# maintainer : Alexey
#
# Fixes LP bug #860910 / MySQL bug #62557
#

403. By Stewart Smith on 2011-11-24

Import Percona Server patch: warning_fixes.patch

402. By Stewart Smith on 2011-11-24

Import Percona Server patch: subunit.patch

=== added file 'mysql-test/lib/Subunit.pm'

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:percona-server/5.5
This branch contains Public information 
Everyone can see this information.

Subscribers