maria:bb-10.1-serg

Last commit made on 2019-09-27
Get this branch:
git clone -b bb-10.1-serg https://git.launchpad.net/maria

Branch merges

Branch information

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

Recent commits

677cc64... by Sergei Golubchik on 2019-09-27

chkconfig in RPM server scriptlets

chkconfig --add and --del [might] invoke /sbin/insserv
and even if chkconfig exists, insserv might not (SLES15).

Ignore chkconfig --del errors - it's a "best effort" cleanup anyway

1442173... by Julius Goryavsky <email address hidden> on 2019-09-25

MDEV-20614: Syntax error, and option put in wrong place

A syntax error in the mysqld_multi.sh script has been fixed
here + a "--defaults-group-suffix" option has been moved to
the top of the mysqld options list.

516f7c1... by Marko Mäkelä on 2019-09-25

Speed up main.sum_distinct-big

Eliminate one InnoDB table with 128*16384 rows, and use
the sequence engine instead. Also, run everything in a single
transaction, to prevent purge from running concurrently
unnecessarily. (Starting with MariaDB Server 10.3, purge would
reset the DB_TRX_ID after INSERT.)

5f118b2... by Alexander Barkov on 2019-09-24

Merge remote-tracking branch 'origin/5.5' into 10.1

67b0faa... by Alexander Barkov on 2019-09-24

MDEV-20495 Assertion `precision > 0' failed in decimal_bin_size upon CREATE .. SELECT with zerofilled decimal

Also fixes:

MDEV-20560 Assertion `precision > 0' failed in decimal_bin_size upon SELECT with MOD short unsigned decimal

Changing the way how Item_func_mod calculates its max_length.
It now uses decimal_precision(), decimal_scale() and unsigned_flag
of its arguments, like all other Item_num_op descendants do.

896974f... by varun on 2019-09-21

MDEV-18094: Query with order by limit picking index scan over filesort

In the function test_if_cheaper_ordering we make a decision if using an index is better than
using filesort for ordering. If we chose to do range access then in test_quick_select we
should make sure that cost for table scan is set to DBL_MAX so that it is not picked.

7a4019a... by Christian Hesse on 2019-03-01

MDEV-19207 systemd service: add instance name in description

The unit files made systemd print:

systemd[1]: Started MariaDB 10.3.13 database server (multi-instance).

Let's add the instance name, so starting <email address hidden>
makes it print:

systemd[1]: Started MariaDB 10.3.13 database server (multi-instance foo).

fd3ad41... by rantal <email address hidden> on 2019-09-16

Update mysqld_safe.sh - introduce defaults-group-suffix handling

"--defaults-group-suffix" must be be given as the first argument on the command-line of mysqld

6a7d51b... by Vicențiu Ciorbaru on 2019-09-20

MDEV-19211 Fix mysqld_safe --dry-run

mysqld_safe --dry-run needs to either call exit or return, depending if
it is being sourced or not, otherise return can lead to the error:

return: can only `return' from a function or sourced script

The original fix suggestion was proposed by FaramosCZ <email address hidden>

1327403... by Chris Calender on 2019-03-25

MDEV-4968 Old advices in mysql-log-rotate script

* Change the comments in mysql-log-rotate.sh to refer to mysqld, not mysqld_safe
  as that's what most distros are using.
* Change err-log to log-error as err-log is no longer valid.
* Convert tab to space for consistency.