maria:bb-10.1-default

Last commit made on 2015-08-17
Get this branch:
git clone -b bb-10.1-default https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.1-default
Repository:
lp:maria

Recent commits

4d8a625... by Monty <email address hidden> on 2015-08-17

Fixed failing tests and compiler warnings
- UNINIT_VAR() was required for 4.8.3 on openSUSE 13.2
- repair_symlink changed because of some of my earlier fixes for REPAIR

2eef4d3... by Monty <email address hidden> on 2015-08-17

Ensure that fields declared with NOT NULL doesn't have DEFAULT values if not specified and if not timestamp or auto_increment

In original code, sometimes one got an automatic DEFAULT value in some cases, in other cases not.

For example:
create table t1 (a int primary key) - No default
create table t2 (a int, primary key(a)) - DEFAULT 0
create table t1 SELECT .... - Default for all fields, even if they where defined as NOT NULL
ALTER TABLE ... MODIFY could sometimes add an unexpected DEFAULT value.

The patch is quite big because we had some many test cases that used
CREATE ... SELECT or CREATE ... (...PRIMARY KEY(xxx)) which doesn't have an automatic DEFAULT anymore.

Other things:
- Removed warnings from InnoDB when waiting from semaphore (got this when testing things with --big)

25dd0aa... by Monty <email address hidden> on 2015-07-17

MDEV-8475 stale .TMM file causes MyiSAM and Aria engine to stop serving the table

Issue was two fold (both in MyISAM and Aria)
- optimize and repair failed if there was an old .TMM file around. As optimized and repair are protected against multiple execution, I decided to change so that we just truncate the file if it exists.
- I had missed to check for error condition if creation of the temporary index file failed. This caused the strange behaviour that it looked as if optimized would have worked once.

35a0198... by Sergey Vojtovich on 2015-02-09

MDEV-5096 - Wrong error message on attempt to kill somebody else's query ID

Attempting to kill query owned by different user now returns better error:
"You are not owner of query N" instead of "You are not owner of thread N".

d517886... by Sergei Golubchik on 2015-07-23

Merge branch 'bb-10.1-serg' into 10.1

26f249f... by Sergei Golubchik on 2015-07-23

compilation failures on Windows

0ae8bae... by Sergei Golubchik on 2015-07-22

fix for 32-bit tests

53623d9... by Jan Lindström on 2015-07-22

MDEV-8522: InnoDB: Assertion failure in file fil0fil.cc line 475

Analysis: In fil_crypt_space_needs_rotation we first make sure that
tablespace is found and then separately that it is normal tablespace.
Thus, tablespace could be dropped between these two functions calls.

Fix: If space is not found from fil_system return tablespace type
ULINT_UNDEFINED and naturally do not continue rotating space.

62b5a56... by Jan Lindström on 2015-07-21

MDEV-8501: encryption.create_or_replace fails in buildbot on P8 builders

Analysis: There is race between drop table and encryption threads that
could cause encryption thread to enter mutex that has been already
released.

Fix: When destroying crypt_data first enter the mutex and set crypt data
unavailable, then release the memory and clean up the data. This should
make the race more unprobable. Additionally, added big_test for
create_or_replace as it could fail testcase timeout
if you have slow I/O (tested that testcase passes with --mem).

3ff9634... by Sergei Golubchik on 2015-07-20

MDEV-8508 mroonga fails embedded tests in 10.1

as a workaround until the bug is fixed
don't run mroonga tests in --embedded mode by default