lp:~akopytov/percona-server/slow_extended_and_rtd_fixes

Created by Alexey Kopytov on 2011-07-26 and last modified on 2011-07-27
Get this branch:
bzr branch lp:~akopytov/percona-server/slow_extended_and_rtd_fixes
Only Alexey Kopytov can upload to this branch. If you are Alexey Kopytov please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Recent revisions

256. By Alexey Kopytov on 2011-07-27

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)

255. By Stewart Smith on 2011-07-21

merge Alexey's fix for FEDERATED not clearing errors in ::close()

254. By Stewart Smith on 2011-07-21

merge Laurynas remove autogenerated files from patches

253. By Alexey Kopytov on 2011-07-08

Implementation of
https://blueprints.launchpad.net/percona-server/+spec/utf8-general50-ci-5.1

The patch is intended to help users:
- Having indexes on columns with collations
utf8_general_ci or ucs2_general_ci
- Having German letter SHARP S (SZLIG) in these columns
- Upgrading from MySQL from versions 5.0.x or
5.1.23 (and earlier) to version 5.1.24 (and higher).

This patch introduces new collations utf8_general50_ci
and ucs2_general50_ci which reproduce the "old"
sorting order provided by pre-5.1.24 versions of xxx_general_ci.

In order to start using new MySQL-5.1.24+ please do the following:

- Start new version of mysqld
- Convert all affected tables using this query (in case of utf8):

ALTER TABLE t1 CONVERT TO CHARACTER SET utf8 COLLATE utf8_general50_ci;

Or if you need to apply changes per-column level, use this example:

ALTER TABLE t1 MODIFY c1 CHAR(N) CHARACTER SET utf8 COLLATE utf8_general50_ci;

(Make sure you're using the old data type and size,
NULL/NOT NULL constraints, etc).

252. By Alexey Kopytov on 2011-07-07

Bug #806975: patch for bug #803270 breaks OS X

Fixed compiler warnings on OS X by using HAVE_DECL_FDATASYNC in addition
to HAVE_FDATASYNC to detect if fdatasync() is available, and avoiding
compiler warning about unused parameter in case it is not.

251. By Alexey Kopytov on 2011-07-07

Merge from LP.

250. By Alexey Kopytov on 2011-07-05

Bug #745241: quering global_temporary_tables causes server crash

The problem was in an insufficient locking in
fill_global_temporary_tables(). Iterating thread's temporary_tables list
could lead to race conditions, because other server code assumes that
list to only be accessed by a single (the current) thread at any time.

Fixed by introducing a new mutex in THD protecting the temporary_tables
list and acquiring that mutex when modifying the list or in
fill_global_temporary_tables().

249. By Stewart Smith on 2011-06-30

merge fdatasync() usage for innodb log files

248. By Stewart Smith on 2011-06-28

merge bug 802829 fix

247. By Stewart Smith on 2011-06-28

merge zip_clean removal

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