lp:percona-server/upstream-5.1

Created by Stewart Smith and last modified
Get this branch:
bzr branch lp:percona-server/upstream-5.1
Members of Percona core can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Recent revisions

3771. By Stewart Smith

merge and reconcile with upstream-5.1 branch which had imported tarball. We 'bzr revert' all changes made by tarball and take the lp:mysql-server/5.1 branch as canonical

3770. By Bjorn Munch

Merge unpushed changes from 5.1.64-release

3769. By <email address hidden>
3768. By Andrei Elkin <email address hidden>

merge from 5.1 repo.

3767. By Andrei Elkin <email address hidden>

merge from 5.1 repo.

3766. By Andrei Elkin <email address hidden>

merge from 5.1 repo.

3765. By Andrei Elkin <email address hidden>

Bug#14275000

Fixes for BUG11761686 left a flaw that managed to slip away from testing.
Only effective filtering branch was actually tested with a regression test
added to rpl_filter_tables_not_exist.
The reason of the failure is destuction of too early mem-root-allocated memory
at the end of the deferred User-var's do_apply_event().

Fixed with bypassing free_root() in the deferred execution branch.
Deallocation of created in do_apply_event() items is done by the base code
through THD::cleanup_after_query() -> free_items() that the parent Query
can't miss.

3764. By Rohit Kalhans <email address hidden>

BUG#11762667:MYSQLBINLOG IGNORES ERRORS WHILE WRITING OUTPUT

This is a followup patch for the bug enabling the test
i_binlog.binlog_mysqlbinlog_file_write.test
this was disabled in mysql trunk and mysql 5.5 as in the release
build mysqlbinlog was not debug compiled whereas the mysqld was.
Since have_debug.inc script checks only for mysqld to be debug
compiled, the test was not being skipped on release builds.

We resolve this problem by creating a new inc file
mysqlbinlog_have_debug.inc which checks exclusively for mysqlbinlog
to be debug compiled. if not it skips the test.

3763. By Gleb Shchepa <email address hidden>

minor update to make MSVS happy

3762. By Georgi Kodinov

Bug #13708485: malformed resultset packet crashes client

Several fixes :

* sql-common/client.c
Added a validity check of the fields metadata packet sent
by the server.
Now libmysql will check if the length of the data sent by
the server matches what's expected by the protocol before
using the data.

* client/mysqltest.cc
Fixed the error handling code in mysqltest to avoid sending
new commands when the reading the result set failed (and
there are unread data in the pipe).

* sql_common.h + libmysql/libmysql.c + sql-common/client.c
unpack_fields() now generates a proper error when it fails.
Added a new argument to this function to support the error
generation.

* sql/protocol.cc
Added a debug trigger to cause the server to send a NULL
insted of the packet expected by the client for testing
purposes.

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