maria:bb-10.4-mdev18608

Last commit made on 2019-02-18
Get this branch:
git clone -b bb-10.4-mdev18608 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.4-mdev18608
Repository:
lp:maria

Recent commits

fb34822... by Sergey Petrunia

MDEV-18608: Defaults for 10.4: histogram size should be set

Followup: update test results

65f2e04... by Sergey Petrunia

MDEV-18608: Defaults for 10.4: histogram size should be set

Change the defaults:

-histogram_size=0
+histogram_size=254

-histogram_type=SINGLE_PREC_HB
+histogram_type=DOUBLE_PREC_HB

Adjust the testcases:
- Some have ignorable changes in EXPLAIN outputs and
  more counter increments due to EITS table reads.
- Testcases that meaningfully depend on the old defaults
  are changed to use the old values.

790b6f5... by Marko Mäkelä

MDEV-18598: Wrong results after instant integer conversions

Field_str::is_equal(): Do not allow instant conversions between
BIT (which is stored big-endian) and integer types (which can
be stored big-endian or little-endian, depending on storage engine).

row_sel_field_store_in_mysql_format_func(): Properly extend
narrower integer and DATA_FIXBINARY values to the current format.
DATA_FIXBINARY was incorrectly padded with 0x20 instead of 0.

e9e4788... by Marko Mäkelä

Merge 10.3 into 10.4

df51dc2... by Marko Mäkelä

Fix tests for innodb_checksum_algorithm=strict_crc32

In tests that directly write InnoDB data file pages,
compute the innodb_checksum_algorithm=crc32 checksums,
instead of writing the 0xdeadbeef value used by
innodb_checksum_algorithm=none. In this way, these tests
will not cause failures when executing
./mtr --mysqld=--loose-innodb-checksum-algorithm=strict_crc32

28f18aa... by Sergei Golubchik

Merge branch '10.4' into bb-10.4-mdev16188

a44f2c3... by Igor Babaev

Merge branch '10.4' into bb-10.4-mdev16188

62c0ac2... by Alexander Barkov

A cleanup for MDEV-13916 Enforce check constraint on JSON type

1. Renaming Type_handler_json to Type_handler_json_longtext
   There will be other JSON handlers soon, e.g. Type_handler_json_varchar.

2. Making the code more symmetric for data types:

- Adding a new virtual method
  Type_handler::Column_definition_validate_check_constraint()
- Moving JSON-specific code from sql_yacc.yy to
  Type_handler_json_longtext::Column_definition_validate_check_constraint()

3. Adding new files sql_type_json.cc and sql_type_json.h
   and moving Type_handler+JSON related code into these files.

568dd52... by Vladislav Vaintroub

MDEV-18592 Warning if temp-file (with "#sql-" prefix) is missing during prepare

e1af460... by Marko Mäkelä

MDEV-18579 Assertion !ctx->online || num_fts_index == 0

instant_alter_column_possible(): Add the other MDEV-17459 work-around
condition. The existence of fulltext indexes only prevents instant
DROP COLUMN or changing the order of columns. Other forms of instant
ALTER TABLE are no problem.

Before commit 4e7ee166a9c76eb3546356aabfd2dbc759671cd0 that merged
the MDEV-18295 fix from 10.3, the work-around of MDEV-17459 in
instant_alter_column_possible() was categorically refusing any
ALGORITHM=INSTANT if any FULLTEXT INDEX was present. After that commit,
a related condition was only present in prepare_inplace_alter_table_dict()
but not in the other callers of instant_alter_column_possible().