maria:bb-10.4-MDEV-18737

Last commit made on 2019-06-17
Get this branch:
git clone -b bb-10.4-MDEV-18737 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.4-MDEV-18737
Repository:
lp:maria

Recent commits

80f9bd3... by Kentoku SHIBA on 2019-06-17

MDEV-18737 Spider "Out of memory" on armv7hl

This is an issue of memory alignment of variable argument when calling my_multi_malloc().
The fix is strictly casting allocating size to "uint".

306e439... by Sergei Golubchik on 2019-06-15

MDEV-17592 Create MariaDB named commands/symlinks

post-merge fixes:
* .gitignore
* don't put the keyword COMPONENT into ${COMP} anymore
* don't alias mytop, but do alias mysql_client_test
* don't symlink manpages, use troff aliasing technique instead
  (symlinked manpages break rpm and out-of-source bintar builds)
* move debian to use troff aliased manpages, fix typos in debian files,
  put aliases in the correct packages, add more aliases to match
  rpm/bintar packaging

24503d5... by Rasmus Johansson on 2019-05-18

MDEV-17592 Create MariaDB named commands/symlinks

f02bc3c... by Sergei Golubchik on 2019-06-16

change pam and disks plugin maturity beta->gamma

da619f0... by Sergei Golubchik on 2019-06-16

compilation fix for fulltest-big

20bb4ed... by Sergei Golubchik on 2019-06-16

make the heap.heap test portable

in HEAP btree indexes, the address of a record in memory is part of the
key. So, when inserting many identical keys, the actual btree
shape is defined by how and where records in memory are allocated.

records_in_range uses floats to estimate the size of the chunk of the
btree between min and max records, it depends on the btree shape and,
thus, is not portable either. As are optimizer decisions that are based
on records_in_range estimations, if the number happens to be close
to a tipping point.

as a fix, reduce the number of matching rows, so that even with
system-specific variations the optimizer would still pick the
expected plan.

Fixes heap.heap failure (range vs ALL) on ppc64

13e8f72... by Sergei Golubchik on 2019-06-15

compilation failure on ppc with -DCMAKE_BUILD_TYPE=Debug

if ${CRC32_LIBRARY} target has no COMPILE_FLAGS yet,
GET_TARGET_PROPERTY returns COMPILE_FLAGS-NOTFOUND, which
doesn't work very well when it's later fed back into COMPILE_FLAGS.

GET_PROPERTY() returns an empty string in this case.

0933212... by Sergei Golubchik on 2019-06-15

C/C

a4cc6fb... by Sergei Golubchik on 2019-06-14

MDEV-15526 SysV init service deployed file '/etc/init.d/mysql' prevents systemctl disable command to work correctly (mariadb|mysql naming support) (debian/ubuntu)

mariadb service is controlled by systemd

Do not install SysV init script on Debian/Ubuntu in /etc/init.d/
put it in /usr/share/mysql in case the user would need it for something.

Use systemctl in pre/post scripts directly
without funky conditionals and wrapper scripts

0a43df4... by Sergei Golubchik on 2019-06-10

MDEV-14735 better matching order for grants

fixes
MDEV-14732 mysql.db privileges evaluated on order of grants rather than hierarchically
MDEV-8269 Correct fix for Bug #20181776 :- ACCESS CONTROL DOESN'T MATCH MOST SPECIFIC HOST WHEN IT CONTAINS WILDCARD

reimplement the old ad hoc get_sort() function to use a wildcard
pattern ordering logic that works correctly in may be all practical cases.

get_sort() is renamed to catch merge errors at compilation time.
moved to a separate included file, because of a long comment.