lp:~maria-captains/maria/5.3-frm

Created by Oleksandr "Sanja" Byelkin on 2012-12-11 and last modified on 2012-12-11
Get this branch:
bzr branch lp:~maria-captains/maria/5.3-frm
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

3202. By Oleksandr "Sanja" Byelkin on 2011-10-04

open_binary_frm() decomposed an methods of TABLE_SHARE to allow engine to create TABLE_SHARE.

utype and geometry_type moved out of Field.

3201. By Sergey Petrunia on 2011-09-29

Merge

3200. By Vladislav Vaintroub on 2011-09-29

Fix test suite:
on Windows, kill <connection> can and almost always will return client error 2013 ("Lost connection...") on the killed connection,
On the server side, if connection is "sleeping" KILL will close the socket, thus socket error on client is expected.

3199. By Timour Katchaounov on 2011-09-28

Fix bug lp:858148.

Analysis:
The crash is a result of the same cause as all similar
bugs (lp:827416, lp:718763, lp:778413, lp:806943,
lp:611690). The general pattern is that some optimization
requires the evaluation of some condition (e.g. the WHERE
clause), and this condition contains a subquery, such that
the subquery itself requires a temporary table for its
execution. During the subquery execution the original
tables in the FROM clause are replaced by the temporary
table needed for the final GROUP or ORDER operation. All
this happens during optimization of the outer query. Later
when EXPLAIN is run for the subquery, explain attempts to
print the name of the tables in the FROM clause, but it
finds there a temporary table without a corresponding
TABLE_LIST object. The attempt to print the name of a
NULL table list results in a crash.

Solution:
This patch extends the fix to bug lp:702301, and dissalows
constant substitution of aggregate functions if the filter
condition used to check MIN/MAX keys is an expensive condition.

3198. By Sergey Petrunia on 2011-09-28

Merge

3197. By Michael Widenius on 2011-09-27

Fixed test case that changed when max_user_connections was made signed.
Threat ER_CONNECTION_KILLED same as ER_SERVER_SHUTDOWN in replication (to get rid of a possible warning in error log)

3196. By Michael Widenius on 2011-09-26

Automatic merge

3195. By Sergey Petrunia on 2011-09-26

Merge

3194. By Sergei Golubchik on 2011-09-24

portability fix: use SOCKET_SIZE_TYPE in the handlersocket plugin

3193. By Sergei Golubchik on 2011-09-23

fix typo: binlog_annotate_rows_events -> binlog_annotate_row_events

Branch metadata

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