maria:bb-10.5-sujatha

Last commit made on 2019-07-05
Get this branch:
git clone -b bb-10.5-sujatha https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.5-sujatha
Repository:
lp:maria

Recent commits

c7ed23b... by Sujatha <email address hidden> on 2019-07-05

MDEV-11154: Write_on_release_cache(log_event.cc) function will not write "COMMIT", if use "mysqlbinlog ... | mysql ..."

Problem:
=======
Executing command, "mysqlbinlog --read-from-remote-server --host='xx.xx.xx.xx'
--port=3306 --user=xxx --password=xxx --database=mysql --to-last-log
mysql-bin.000001 --start-position=1098699 --stop-never |mysql -uxxx -pxxx", we
found that last data read from remote couldn't commit.

Analysis:
========
The purpose of 'Write_on_release_cache' is that the contents of the Cache will
automatically be written to a dedicated result file on destruction. Flush
operation on the result file is controlled by a flag 'FLUSH_F'. Events which
require force flush upon their destruction will have to enable this
'Write_on_release_cache::FLUSH_F'. At present the 'FLUSH_F' flag is defined as
an enum as shown below.

enum flag
{
  FLUSH_F
};

Since 'FLUSH_F' is the first member without initialization it get the default
value '0'. Because of this the following flush condition never succeeds.

if (m_flags & FLUSH_F)
  fflush(m_file);

At present the file gets flushed only during my_fclose(result_file) operation.
When continuous streaming is enabled through --stop-never option it never gets
flushed and hence events are not replicated.

Fix:
===
Initialize the enum value to non zero value.

2a8ae4b... by Sujatha <email address hidden> on 2019-06-25

MDEV-19855: Create "Sql_cmd_show_slave_status" class for "SHOW SLAVE STATUS" command.

Create "Sql_cmd_show_slave_status" class for "SHOW SLAVE STATUS" command.

b3b965a... by Yuqi Gu <email address hidden> on 2019-06-28

Fix build failure on CentOS for MariaDB official CI

The gcc version in CentOS 7 is 4.8.2 (released in Mar 2013).
But Arm added the support for 'arm_acle.h' in gcc 5.1 (released in Jun 2014).
And there are also some bugs in Arm gcc 4.8.
The patch is to detect GCC(greater than 5.1) version for Arm crc32c.

Change-Id: I718b9b89f952fed72c8795a176ebbe5395c8dd5e
Signed-off-by: Yuqi Gu <email address hidden>

97c268f... by Vladislav Vaintroub on 2019-06-29

Windows, compiling . various cleanups, use /Zi instead of /Z7

0efe50e... by Vladislav Vaintroub on 2019-06-29

Remove the most annoying clang-cl warnings

Fix "consistent override", and "unused private field" warnings
in popular header files.

0179aad... by Vladislav Vaintroub on 2019-06-29

Windows, compiling : Reenable /MP for connect engine.

Remove this flag only from domdoc.cpp, which uses #import directive.

460de62... by Vladislav Vaintroub on 2019-06-29

In case WITH_WSREP is enabled, build wsrep as plugin
If it is not enabled, build wsrep as static "stub" library from wsrep_dummy.cc
ยด

Allow static plugins to export symbols (on Unix)
wsrep_info relies on wsrep defined symbols (e.g LOCK_wsrep_config_state)
exported from mysqld

db80f04... by Vladislav Vaintroub on 2019-06-28

Cleanup - do not dllexport statically built plugins

6dc71d4... by Vladislav Vaintroub on 2019-06-28

improve build, allow sql library to be built in parallel with builtins

a89f1fa... by Vladislav Vaintroub on 2019-06-27

Remove feedback from Windows MSI

Not much use of this feature so far.