lp:~maria-captains/maria/mysql-5.1-mwl36

Created by Sergey Petrunia and last modified
Get this branch:
bzr branch lp:~maria-captains/maria/mysql-5.1-mwl36
Members of Maria-captains can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Maria-captains
Project:
MariaDB
Status:
Development

Recent revisions

3195. By Sergey Petrunia

MWL#36: Add a mysqlbinlog option to change the used database
- Port the patch to MySQL

3194. By <email address hidden>

Use C comments in C code

3193. By Georgi Kodinov

merge

3192. By Georgi Kodinov

merge

3191. By Davi Arnaut <email address hidden>

Automerge.

3190. By Kostja Osipov

A fix and a test case for
Bug#41756 "Strange error messages about locks from InnoDB".

In JT_EQ_REF (join_read_key()) access method,
don't try to unlock rows in the handler, unless certain that
a) they were locked
b) they are not used.

Unlocking of rows is done by the logic of the nested join loop,
and is unaware of the possible caching that the access method may
have. This could lead to double unlocking, when a row
was unlocked first after reading into the cache, and then
when taken from cache, as well as to unlocking of rows which
were actually used (but taken from cache).

Delegate part of the unlocking logic to the access method,
and in JT_EQ_REF count how many times a record was actually
used in the join. Unlock it only if it's usage count is 0.

Implemented review comments.

3189. By Magnus BlÄudd

Merge bug#47867 to 5.1-bugteam

3188. By Kristofer Pettersson

automerge

3187. By Kristofer Pettersson

Moved test case for bug 31157 from query_cache.test to subselect.test

3186. By Kristofer Pettersson

Automerge

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar RepositoryFormatKnitPack6 (bzr 1.9)
Stacked on:
lp:~maria-captains/maria/5.1-converting
This branch contains Public information 
Everyone can see this information.

Subscribers