View Bazaar branches
Get this repository:
git clone https://git.launchpad.net/maria

MariaDB has 18 active reviews.

Branches

Name Last Modified Last Commit
bb-10.3-sachin-rpl 2019-08-09 13:41:18 UTC 2019-08-09
MDEV-16239 Many test in rpl suite fails

Author: Sachin Setiya
Author Date: 2018-05-17 09:10:55 UTC

MDEV-16239 Many test in rpl suite fails

Fix rpl_skip_error test.
  We cant reset Slave_skipped_errors(even with FLUSH STATUS), So instead
of absolute slave_skipped_errors we look for delta of slave_skipped_errors
Fix rpl.rpl_binlog_errors and binlog_encryption.rpl_binlog_errors
  We create the $load_file and $load_file2 but we never remove them.
Fix rpl_000011.test
  Instead of real value use delta value , Since flush status wont flush
LONGLONG variable.
Fix rpl_row_find_row_debug
  Instead of searching whole log_error_ file we will use search_pattern_in_file
which runs pattern search only on latest test run , instead of full file.
Fix rpl_ip_mix rpl_ip_mix2
  We should call reset slave all because we also want to reset master_host
otherwise show slave status wont be empty and making repeat N a failure.
Fix rpl_rotate_logs
  First we have to remove master.info file (cleanup) and second we have to
call reset slave all because if we do not call reset slave all then we wont
read master.info file beacuse we already have master config in memory.
And this makes start slave to pass , which shoud fail becuase its permision
is 000
Fix circular_serverid0 test
  The reason is that ++dbug_rows_event_count == 2 in queue_event does
not take --repeat into account. So I have reseted the dbug_rows_event_count
in if body.

bb-10.1-17614 2019-08-09 11:47:11 UTC 2019-08-09
MDEV-17614 INSERT on dup key update is replication unsafe

Author: Sachin Setiya
Author Date: 2019-07-17 10:26:29 UTC

MDEV-17614 INSERT on dup key update is replication unsafe

Problem:-
When mysql executes INSERT ON DUPLICATE KEY INSERT, the storage engine checks
if the inserted row would generate a duplicate key error. If yes, it returns
the existing row to mysql, mysql updates it and sends it back to the storage
engine.When the table has more than one unique or primary key, this statement
is sensitive to the order in which the storage engines checks the keys.
Depending on this order, the storage engine may determine different rows
to mysql, and hence mysql can update different rows.The order that the
storage engine checks keys is not deterministic. For example, InnoDB checks
keys in an order that depends on the order in which indexes were added to
the table. The first added index is checked first. So if master and slave
have added indexes in different orders, then slave may go out of sync.

Solution:-
Make INSERT...ON DUPLICATE KEY UPDATE unsafe while using stmt or mixed format
When there is more then one unique key.
Although there is two exception.
  1. Auto Increment key is not counted because Innodb will get gap lock for
    failed Insert and concurrent insert will get a next increment value. But if
    user supplies auto inc value it can be unsafe.
  2. Count only unique keys for which insertion is performed.

So this patch also addresses the bug id #72921

bb-10.2-MDEV-19348 2019-08-08 16:06:37 UTC 2019-08-08
MDEV-19348 MariaBackup prepare fails with corruption on disk

Author: THIRUNARAYANAN BALATHANDAYUTHAPANI
Author Date: 2019-08-08 16:06:37 UTC

MDEV-19348 MariaBackup prepare fails with corruption on disk

Problem:
========
 For alter table.. add index command, MLOG_INDEX_LOAD log ensures that only
index pages are flushed to disk. It doesn't ensure about page 0, page 1, page 2.
During recovery, redo of page0 applies after any index page read. It leads to
failure of decryption of index page.

Solution:
=========
- While parsing of redo log, store the space ids of failed crypt_data initialization
and ignore the pages of tablespace if the key version and space->crypt_data doesn't
match.
- Try to apply the redo log for ignored page after initializing the crypt_data
for the tablespace.

bb-10.5-MDEV-20297 2019-08-08 14:56:44 UTC 2019-08-08
MDEV-20297 sql_list: add begin() and end() for List<T>

Author: Nikita Malyavin
Author Date: 2019-08-08 14:56:44 UTC

MDEV-20297 sql_list: add begin() and end() for List<T>

bb-10.3-anel-MDEV-18323 2019-08-07 14:31:41 UTC 2019-08-07
Handle special characters

Author: Anel Husakovic
Author Date: 2019-08-07 13:58:49 UTC

Handle special characters

bb-10.1-MDEV-20247 2019-08-07 07:05:04 UTC 2019-08-07
MDEV-20247 Replication hangs with "preparing" and never starts

Author: THIRUNARAYANAN BALATHANDAYUTHAPANI
Author Date: 2019-08-07 07:05:04 UTC

MDEV-20247 Replication hangs with "preparing" and never starts

- The commit ab6dd774082c57f48d998e03655c06b672799b2d wrongly sets the
condition inside innobase_srv_conc_enter_innodb(). Problem is that
InnoDB makes the thread to sleep indefinitely if it is a replication
slave thread.

Thanks to Sujatha Sivakumar for contributing the replication test case.

bb-10.2-sachin 2019-08-06 20:38:25 UTC 2019-08-06
try 5

Author: Sachin Setiya
Author Date: 2019-08-06 20:38:25 UTC

try 5

bb-10.2-MDEV-13416-big-log 2019-08-06 13:31:49 UTC 2019-08-06
MDEV-20060: Failing assertion: srv_log_file_size <= 512ULL << 30 while prepar...

Author: Vlad Lesin
Author Date: 2019-07-29 11:12:19 UTC

MDEV-20060: Failing assertion: srv_log_file_size <= 512ULL << 30 while preparing backup

The general reason why innodb redo log file is limited by 512G is that
log_block_convert_lsn_to_no() returns value limited by 1G. But there is no
need to have unique log block numbers in log group. The fix removes 512G
limit and limits log group size by
(uint32_t maximum value) * (minimum page size), which, in turns, can be
removed if fil_io() is no longer used for innodb redo log io.

bb-10.2-group-min-max 2019-08-03 20:15:44 UTC 2019-08-03
Post-merge fixes for rocksdb.group_min_max test

Author: Sergey Petrunia
Author Date: 2019-08-03 20:15:44 UTC

Post-merge fixes for rocksdb.group_min_max test

- Fix the LooseScan code to support storage engines that return
  HA_ERR_END_OF_FILE if the index scan goes out of provided range
  bounds
- Add a DBUG_EXECUTE_IF("force_group_by",...) to allow a test to
  force a LooseScan
- Adjust rocksdb.group_min_max test not to use features not present
  in MariaDB 10.2 (e.g. optimizer_trace. In MariaDB 10.4 it's present
  but it doesn't meet the assumptions that the test makes about it
- Adjust the test result file:
  = MariaDB doesn't support "Enhanced Loose Scan" that FB/MySQL has
  = MariaDB has different cost calculations.

bb-10.3-MDEV-18546-nikita 2019-08-01 11:49:26 UTC 2019-08-01
add a lot of debug info filterings.

Author: Nikita Malyavin
Author Date: 2019-07-31 09:27:00 UTC

add a lot of debug info filterings.
best with --debug=+d:f,innobase_build_v_templ,row_vers_build_clust_v_col,close_cached_tables,tdc_release_share,tdc_acquire_share,TABLE_SHARE::destroy:T:t:i:n:O,debug

bb-10.2-hf 2019-08-01 10:12:07 UTC 2019-08-01
MDEV-17292 Package the pam_user_map module.

Author: Alexey Botchkov
Author Date: 2019-08-01 10:12:07 UTC

MDEV-17292 Package the pam_user_map module.

The module is compiled and installed in the lib/plugin directory.
User can use it from there or copy to the /lib/security.

bb-10.3-anel-rocksdb_MDEV-17544 2019-07-31 15:24:26 UTC 2019-07-31
Add missing rocksdb results for MDEV-17544

Author: Anel Husakovic
Author Date: 2019-07-31 15:24:26 UTC

Add missing rocksdb results for MDEV-17544

bb-10.4-MDEV-20185 2019-07-30 15:18:31 UTC 2019-07-30
MDEV-20185: Windows: Use of uninitialized value $bpath in string eq

Author: Julius Goryavsky
Author Date: 2019-07-30 15:18:31 UTC

MDEV-20185: Windows: Use of uninitialized value $bpath in string eq

The execution of mtr in the Windows environment fails due to
the fact that the new code from MDEV-18565 does not take into
account the need to add the ".exe" extension to the names of
executable files when searching for pre-requisites that are
needed to run SST scripts (especially when using mariabackup)
and when searching paths to some other Galera utilities.
This patch fixes this flaw.

Also adding paths to the PATH environment variable is now
done with the correct delimiter character.

322 2019-07-30 15:16:25 UTC 2019-07-30
MDEV-20185: Windows: Use of uninitialized value $bpath in string eq

Author: Julius Goryavsky
Author Date: 2019-07-30 15:16:25 UTC

MDEV-20185: Windows: Use of uninitialized value $bpath in string eq

The execution of mtr in the Windows environment fails due to
the fact that the new code from MDEV-18565 does not take into
account the need to add the ".exe" extension to the names of
executable files when searching for pre-requisites that are
needed to run SST scripts (especially when using mariabackup)
and when searching paths to some other Galera utilities.
This patch fixes this flaw.

Also adding paths to the PATH environment variable is now
done with the correct delimiter character.

bb-10.2-MDEV-20185 2019-07-30 15:16:25 UTC 2019-07-30
MDEV-20185: Windows: Use of uninitialized value $bpath in string eq

Author: Julius Goryavsky
Author Date: 2019-07-30 15:16:25 UTC

MDEV-20185: Windows: Use of uninitialized value $bpath in string eq

The execution of mtr in the Windows environment fails due to
the fact that the new code from MDEV-18565 does not take into
account the need to add the ".exe" extension to the names of
executable files when searching for pre-requisites that are
needed to run SST scripts (especially when using mariabackup)
and when searching paths to some other Galera utilities.
This patch fixes this flaw.

Also adding paths to the PATH environment variable is now
done with the correct delimiter character.

bb-10.3-hf 2019-07-30 11:54:43 UTC 2019-07-30
Test fixed.

Author: Alexey Botchkov
Author Date: 2019-07-30 11:54:43 UTC

Test fixed.

bb-10.1-MDEV-18863 2019-07-30 11:45:13 UTC 2019-07-30
MDEV-18863: Galera SST scripts can't read [mysqldN] option groups

Author: Julius Goryavsky
Author Date: 2019-07-30 11:45:13 UTC

MDEV-18863: Galera SST scripts can't read [mysqldN] option groups

Some users and some scripts (for example, mysqld_multi.sh) use special
option groups with names like [mysqld1], [mysqld2], ..., [mysqldN].

But SST scripts can't currently fully support these option groups.
The only option group-related value it gets from the server is
--defaults-group-suffix, if that option was set for mysqld when
the server was started.

However, the SST scripts does not get told by the server to read
these option groups, so this means that the SST script will fail
to read options like innodb-data-home-dir when it is in a option
group like [mysqld1]...[mysqldN].

Moreover, SST scripts ignore many parameters that can be passed
to them explicitly and cannot transfer them further, for example,
to the input of mariabackup utility. Ideally, we want to transfer
all the parameters of the original mysqld call to utilities such
as mariabackup, however the SST script does not receive these
parameters from the server and therefore cannot transfer them to
mariabackup.

To correct these shortcomings, we need to transfer to the scripts
all of the parameters of the original mysqld call, and in the SST
scripts themselves provide for the transfer all of these parameters
to utilities such as mariabackup. To prevent these parameters from
mixing with the script's own parameters, they should be transferred
to SST script after the special option "--mysqld-args", followed by
the string argument with the original parameters, as it received by
the mysqld call at the time of launch (further all these parameters
will be passed to mariabackup, for example).

In addition, the SST scripts themselves must be refined so that
they can read the parameters from the user-selected group, not just
from the global mysqld configuration group. And also so that they
can receive the parameters (which important for their work) as
command-line arguments.

bb-10.4-sachin 2019-07-29 22:12:21 UTC 2019-07-29
MDEV-19848 Server crashes in check_vcol_forward_refs upon INSERT DELAYED into...

Author: Sachin Setiya
Author Date: 2019-07-29 22:11:42 UTC

MDEV-19848 Server crashes in check_vcol_forward_refs upon INSERT DELAYED into table with long blob key

There are 2 issues

  1st:- in make_new_field when we & into new field flag we forget
  LONG_UNIQUE_HASH_FIELD Flag.

  2nd:- We are calling parse_vcol_defs on keyinfo , but they are not in right
  form. We should call setup_keyinfo_hash_all before calling parse_vcol_defs

bb-10.5-wlad-2 2019-07-27 14:04:53 UTC 2019-07-27
MDEV-16424 - do not io_destroy while io_context is used by io_getenv

Author: Vladislav Vaintroub
Author Date: 2019-07-27 14:04:53 UTC

MDEV-16424 - do not io_destroy while io_context is used by io_getenv

bb-10.4-wlad-wolfssl 2019-07-26 15:08:38 UTC 2019-07-26
Do not compile socket IO code in WolfSSL

Author: Vladislav Vaintroub
Author Date: 2019-06-30 22:43:26 UTC

Do not compile socket IO code in WolfSSL

We use own IO callbacks from server code anyway.

bb-10.1-release 2019-07-26 08:48:12 UTC 2019-07-26
Merge branch 'merge-tokudb-5.6' into 10.1

Author: Oleksandr Byelkin
Author Date: 2019-07-26 08:48:12 UTC

Merge branch 'merge-tokudb-5.6' into 10.1

bb-10.4-MW-336 2019-07-26 00:55:28 UTC 2019-07-26
Fix for MW-336 test

Author: Julius Goryavsky
Author Date: 2019-07-26 00:55:28 UTC

Fix for MW-336 test

bb-10.1-anel-MDEV-19761 2019-07-25 06:50:29 UTC 2019-07-25
MDEV-19761 - Before Trigger not processed for Not Null Column

Author: Anel Husakovic
Author Date: 2019-06-25 07:05:41 UTC

MDEV-19761 - Before Trigger not processed for Not Null Column

bb-5.5-release 2019-07-24 12:00:43 UTC 2019-07-24
BUG#28642318: POINT IN TIME RECOVERY USING MYSQLBINLOG BROKEN WITH TEMPORARY ...

Author: Nisha Gopalakrishnan
Author Date: 2019-04-17 10:06:29 UTC

BUG#28642318: POINT IN TIME RECOVERY USING MYSQLBINLOG BROKEN WITH TEMPORARY TABLE -> ERRORS

Analysis
========
Point in time recovery using mysqlbinlog containing queries
operating on temporary tables results in an error.

While writing the query log event in the binary log, the
thread id used for execution of DROP TABLE and DELETE commands
were incorrect. The thread variable 'thread_specific_used'
is used to determine whether a specific thread id is to used
while executing the statements i.e using 'SET
@@session.pseudo_thread_id'. This variable was not set
correctly for DROP TABLE query and was never set for DELETE
query. The thread id is important for temporary tables
since the tables are session specific. DROP TABLE and DELETE
queries executed using a wrong thread id resulted in errors
while applying the queries generated by mysqlbinlog utility.

Fix
===
Set the 'thread_specific_used' THD variable for DROP TABLE and
DELETE queries.

ReviewBoard: 21833

bb-10.2-midenok2 2019-07-22 12:40:06 UTC 2019-07-22
MDEV-20015 Assertion `!in_use->is_error()' failed in TABLE::update_virtual_field

Author: midenok
Author Date: 2019-07-22 12:38:37 UTC

MDEV-20015 Assertion `!in_use->is_error()' failed in TABLE::update_virtual_field

Preserve and restore statement DA.

bb-10.1-andrei 2019-07-21 17:41:28 UTC 2019-07-21
MDEV-20091 DROP TEMPORARY table is logged despite no CREATE was logged

Author: Andrei Elkin
Author Date: 2019-07-20 19:02:55 UTC

MDEV-20091 DROP TEMPORARY table is logged despite no CREATE was logged

MDEV-5589 commit set up a policy to skip DROP TEMPORARY TABLE
binary logging in case the target table has not been "CREATEed" in
binlog (no CREATE Query-log-event was logged into the binary log).

It turns out that

1. the rule did not cover non-existing table DROPped with IF-EXISTS
   clause. The logged-create knowledge for the non-existing one does
   not even need MDEV-5589 patch, and

2. connection close disobeys it to trigger automatic DROP-IF-EXISTS
   binlogging.

Either 1 or 2 or even both is/are also responsible for unexpected
binlog records observed in MDEV-17863, actually rendering
a referred @@global.read_only irrelevant as far as the described stored
procedure definition *and* the ROW binlog-format are concerned.

bb-10.5-MDEV-18565 2019-07-19 10:39:20 UTC 2019-07-19
Switch Perl DBI scripts from DBD::mysql to DBD::MariaDB driver

Author: Pali
Author Date: 2019-06-07 14:30:27 UTC

Switch Perl DBI scripts from DBD::mysql to DBD::MariaDB driver

Perl DBD::MariaDB driver is available CPAN and is already used in
production environment.

bb-10.3-robert 2019-07-18 12:49:40 UTC 2019-07-18
MDEV-16490: It's possible to make a system versioned table without any versio...

Author: Nikita Malyavin
Author Date: 2018-06-22 13:26:43 UTC

MDEV-16490: It's possible to make a system versioned table without any versioning field

* do not allow versioned table to be without versioned (non-system) fields
* prohibit changing field versioning, when removing table versioning

bb-10.2-MDEV-18565 2019-07-17 08:45:09 UTC 2019-07-17
MDEV-18565: Galera mtr-suite fails if galera library is not installed

Author: Julius Goryavsky
Author Date: 2019-07-16 09:33:11 UTC

MDEV-18565: Galera mtr-suite fails if galera library is not installed

Currently, running mtr with an incorrect (for example, new or
obsolete) version of wsrep_provider (for example, with the 26
version of libgalera_smm.so) leads to the failure of tests in
several suites with vague error diagnostics.

As for the galera_3nodes suite, the mtr also does not effectively
check all the prerequisites after merge with MDEV-18426 fixes.
For example, tests that using mariabackup do not check for presence
of ss and socat/nc. This is due to improper handling of relative
paths in mtr scripts.

In addition, some tests in different suites can be run without
setting the environment variables such as MTR_GALERA_TFMT, XBSTREAM,
and so on.

To eliminate all these issues, this patch makes the following changes:

1. Added auxiliary wsrep_mtr_check utility (which located in the
mysql-test/lib/My/SafeProcess subdirectory), which compares the
versions of the wsrep API that used by the server and by the wsrep
provider library, and it does this comparison safely, without
accessing the API if the versions do not match.

2. All checks related to the presence of mariabackup and utilities
that necessary for its operation transferred from the local directories
of different mtr suites (from the suite.pm files) to the main suite.pm
file. This not only reduces the amount of code and eliminates duplication
of identical code fragments, but also avoids problems due to the inability
of mtr to consider relative paths to include files when checking skip
combinations.

3. Setting the values of auxiliary environment variables that
are necessary for Galera, SST scripts and mariabackup (to work
properly) is moved to the main mysql-test-run.pl script, so as
not to duplicate this code in different suites, and to avoid
partial corrections of the same errors for different suites
(while other suites remain uncorrected).

4. Fixed duplication of the have_file_key_management.inc and
have_filekeymanagement.inc files between different suites,
these checks are also transferred to the top level.

5. Added garbd presence check and garbd path variable.

https://jira.mariadb.org/browse/MDEV-18565

bb-10.4-MDEV-18565 2019-07-17 08:25:59 UTC 2019-07-17
MDEV-18565: Galera mtr-suite fails if galera library is not installed

Author: Julius Goryavsky
Author Date: 2019-07-16 10:48:04 UTC

MDEV-18565: Galera mtr-suite fails if galera library is not installed

Currently, running mtr with an incorrect (for example, new or
obsolete) version of wsrep_provider (for example, with the 26
version of libgalera_smm.so) leads to the failure of tests in
several suites with vague error diagnostics.

As for the galera_3nodes suite, the mtr also does not effectively
check all the prerequisites after merge with MDEV-18426 fixes.
For example, tests that using mariabackup do not check for presence
of ss and socat/nc. This is due to improper handling of relative
paths in mtr scripts.

In addition, some tests in different suites can be run without
setting the environment variables such as MTR_GALERA_TFMT, XBSTREAM,
and so on.

To eliminate all these issues, this patch makes the following changes:

1. Added auxiliary wsrep_mtr_check utility (which located in the
mysql-test/lib/My/SafeProcess subdirectory), which compares the
versions of the wsrep API that used by the server and by the wsrep
provider library, and it does this comparison safely, without
accessing the API if the versions do not match.

2. All checks related to the presence of mariabackup and utilities
that necessary for its operation transferred from the local directories
of different mtr suites (from the suite.pm files) to the main suite.pm
file. This not only reduces the amount of code and eliminates duplication
of identical code fragments, but also avoids problems due to the inability
of mtr to consider relative paths to include files when checking skip
combinations.

3. Setting the values of auxiliary environment variables that
are necessary for Galera, SST scripts and mariabackup (to work
properly) is moved to the main mysql-test-run.pl script, so as
not to duplicate this code in different suites, and to avoid
partial corrections of the same errors for different suites
(while other suites remain uncorrected).

4. Fixed duplication of the have_file_key_management.inc and
have_filekeymanagement.inc files between different suites,
these checks are also transferred to the top level.

5. Added garbd presence check and garbd path variable.

https://jira.mariadb.org/browse/MDEV-18565

bb-10.2-MDEV-19746 2019-07-15 04:02:18 UTC 2019-07-15
Try #2

Author: Jan Lindström
Author Date: 2019-07-15 04:02:18 UTC

Try #2

bb-10.1-MDEV-18778 2019-07-12 05:23:34 UTC 2019-07-12
Fix typo.

Author: Jan Lindström
Author Date: 2019-07-12 05:23:34 UTC

Fix typo.

bb-10.5-bar-mdev20042 2019-07-11 10:50:39 UTC 2019-07-11
MDEV-20042 Implement EXTRA2_FIELD_DATA_TYPE_INFO in FRM

Author: Alexander Barkov
Author Date: 2019-07-11 10:50:39 UTC

MDEV-20042 Implement EXTRA2_FIELD_DATA_TYPE_INFO in FRM

bb-mdev-274 2019-07-10 15:14:34 UTC 2019-07-10
MDEV-274 The data type for IPv6/IPv4 addresses in MariaDB

Author: Alexander Barkov
Author Date: 2019-04-04 12:36:08 UTC

MDEV-274 The data type for IPv6/IPv4 addresses in MariaDB

bb-10.1-MDEV-19978 2019-07-10 11:48:56 UTC 2019-07-10
MDEV-19978 Page read from tablespace is corrupted

Author: THIRUNARAYANAN BALATHANDAYUTHAPANI
Author Date: 2019-07-10 11:48:56 UTC

MDEV-19978 Page read from tablespace is corrupted

Problem:
=======
  Checksum fields can have value as zero. In that case, InnoDB falsely
consider that page should be all zeroes. It leads to wrong detection of page
corruption.

Solution:
========
 Remove the condition that checks if checksum fields are zero then
page should be all zeroes.

bb-10.2-MDEV-18027 2019-07-10 11:40:54 UTC 2019-07-10
MDEV-18027: Running out of file descriptors and eventual crash

Author: Oleksandr Byelkin
Author Date: 2019-07-10 11:40:54 UTC

MDEV-18027: Running out of file descriptors and eventual crash

For automatic number of opened files limit take into account number of table instances for table cache

bb-10.3-sysprg-vcheck 2019-07-09 14:54:08 UTC 2019-07-09
Improved error messages and added another path to the version check utility

Author: Julius Goryavsky
Author Date: 2019-07-09 14:54:08 UTC

Improved error messages and added another path to the version check utility

bb-10.5-nikita 2019-07-09 11:25:35 UTC 2019-07-09
Add const qualifiers to Field::cmp, Field::cmp_max and Field::cmp_binary

Author: Nikita Malyavin
Author Date: 2019-07-09 11:20:00 UTC

Add const qualifiers to Field::cmp, Field::cmp_max and Field::cmp_binary

bb-10.4-midenok2 2019-07-08 11:55:59 UTC 2019-07-08
MDEV-16222 Assertion `0' failed in row_purge_remove_sec_if_poss_leaf on table...

Author: midenok
Author Date: 2019-06-25 07:53:33 UTC

MDEV-16222 Assertion `0' failed in row_purge_remove_sec_if_poss_leaf on table with virtual columns and indexes

Cause
Stale thd->m_stmt_da->m_sql_errno which is from different invocation.

Fix
Reset error state before attempt to open table.

bb-10.2-mdev19830 2019-07-07 15:17:17 UTC 2019-07-07
Update RocksDB the revision that fixes the compile error on power8

Author: Sergey Petrunia
Author Date: 2019-07-07 15:03:52 UTC

Update RocksDB the revision that fixes the compile error on power8

bb-10.4-elenst 2019-07-07 10:35:36 UTC 2019-07-07
force-enable debug output in the pam plugin

Author: Sergei Golubchik
Author Date: 2019-07-04 14:18:59 UTC

force-enable debug output in the pam plugin

bb-10.3-galera 2019-07-05 05:44:47 UTC 2019-07-05
Merge branch 'tempesta-tech-sysprg/10.3-MDEV-18565' into 10.3

Author: Jan Lindström
Author Date: 2019-07-05 05:44:47 UTC

Merge branch 'tempesta-tech-sysprg/10.3-MDEV-18565' into 10.3

bb-10.5-MDEV-18582 2019-07-03 14:31:20 UTC 2019-07-03
MDEV-18582: Extend SHOW STATUS LIKE 'Innodb_%'

Author: Marko Mäkelä
Author Date: 2019-07-03 14:31:20 UTC

MDEV-18582: Extend SHOW STATUS LIKE 'Innodb_%'

Many InnoDB internal variables and counters were only exposed
in an unstructured fashion via SHOW ENGINE INNODB STATUS.

Expose more variables via SHOW STATUS. Many of these were
exported in XtraDB.

Also, introduce SHOW_SIZE_T and use the proper size for
exporting the InnoDB variables.

Remove some unnecessary indirection via export_vars, and
bind some variables directly.

dict_sys_t::rough_size(): Replaces dict_sys_get_size()
and includes the hash table sizes.

This is based on a contribution by Tony Liu from ServiceNow.

bb-10.1-sachin 2019-07-01 08:56:17 UTC 2019-07-01
MDEV-8874 Replication filters configured in my.cnf are ignored if slave reset...

Author: Sachin Setiya
Author Date: 2019-07-01 08:56:17 UTC

MDEV-8874 Replication filters configured in my.cnf are ignored if slave reset and reconfigured

Remove IF condiotion , it was causing galera tests to fails

10.5-monty 2019-06-26 20:39:13 UTC 2019-06-26
Added s3_protocol_version=auto

Author: Monty
Author Date: 2019-06-26 18:00:51 UTC

Added s3_protocol_version=auto

bb-10.3-MDEV-19845 2019-06-26 19:06:11 UTC 2019-06-26
MDEV-19845: Adaptive spin loops

Author: Marko Mäkelä
Author Date: 2019-06-26 18:57:42 UTC

MDEV-19845: Adaptive spin loops

Starting with the Intel Skylake microarchitecture, the PAUSE
instruction latency is about 140 clock cycles instead of earlier 10.
On AMD processors, the latency could be 10 or 50 clock cycles,
depending on microarchitecture.

Because of this big range of latency, let us scale the loops around
the PAUSE instruction based on timing results at server startup.

my_cpu_relax_multiplier: New variable: How many times to invoke PAUSE
in a loop. Only defined for IA-32 and AMD64.

my_cpu_init(): Determine with RDTSC the time to run 16 PAUSE instructions
in two unrolled loops according, and based on the quicker of the two
runs, initialize my_cpu_relax_multiplier. This form of calibration was
suggested by Mikhail Sinyavin from Intel.

LF_BACKOFF(), ut_delay(): Use my_cpu_relax_multiplier when available.

ut_delay(): Define inline in my_cpu.h.

UT_COMPILER_BARRIER(): Remove. This does not seem to have any effect,
because in our ut_delay() implementation, no computations are being
performed inside the loop. The purpose of UT_COMPILER_BARRIER() was to
prohibit the compiler from reordering computations. It was not
emitting any code.

bb-10.4-monty 2019-06-26 17:41:44 UTC 2019-06-26
Limit minium aria_block_size to 4096

Author: Monty
Author Date: 2019-06-26 16:47:56 UTC

Limit minium aria_block_size to 4096

MDEV-19585 Assertion with S3 table and flush_tables

The limit has to be increased so that MariaDB can create system tables.
It should not have any notable impact on performance.

There should not be any notable performance differences between 1K and 4K,
especially for temporary tables. In most cases using bigger blocks is also
faster (with the possible exception of doing key reads of not fixed length
keys).

bb-5.5-svoj-MDEV-18783 2019-06-25 12:05:13 UTC 2019-06-25
MDEV-16686 - Assertion `(*tables)->reginfo.lock_type >= TL_READ' failed

Author: Sergey Vojtovich
Author Date: 2018-10-19 19:13:47 UTC

MDEV-16686 - Assertion `(*tables)->reginfo.lock_type >= TL_READ' failed
             in lock_external upon using a mix of trigger, view, SP

Prevent TL_IGNORE tables from being added to the SP's m_sptabs hash.

Test cases merged from MySQL rev 41c5f4a0235ac9375080c4c79d207fe429e94a2c
BUG#19988193: ASSERTION `(*TABLES)->REGINFO.LOCK_TYPE >= TL_READ'
              FAILED IN LOCK_EXTERNAL
BUG#21198646: ASSERTION FAILED: (*TABLES)->REGINFO.LOCK_TYPE >=
              TL_READ FILE LOCK.CC, LINE 356

bb-10.4-wlad 2019-06-21 18:08:42 UTC 2019-06-21
remove workaround from MDEV-9409

Author: Vladislav Vaintroub
Author Date: 2019-06-21 16:51:36 UTC

remove workaround from MDEV-9409

bb-10.2-myrocks-merge 2019-06-20 18:34:15 UTC 2019-06-20
Fix tests: some build hosts have ramdisk in /run/shm instead of /dev/shm

Author: Sergey Petrunia
Author Date: 2019-06-20 18:34:15 UTC

Fix tests: some build hosts have ramdisk in /run/shm instead of /dev/shm

10.4-drrtuy-MCOL-2178_2 2019-06-19 21:31:51 UTC 2019-06-19
MDEV-XXX find_select_handler now tries its best to find a handlerton that

Author: Roman Nozdrin
Author Date: 2019-06-19 21:31:51 UTC

MDEV-XXX find_select_handler now tries its best to find a handlerton that
    is able to processes the whole query. find_select_handler traverses
    all global tables for the purpose.

    Select_handler now cleans up temporary table structures on dctor call.

bb-10.5-marko 2019-06-19 13:06:28 UTC 2019-06-19
Remove page_copy_rec_list_end_to_created_page()

Author: Marko Mäkelä
Author Date: 2019-06-18 15:01:44 UTC

Remove page_copy_rec_list_end_to_created_page()

Also remove the log records MLOG_LIST_END_COPY_CREATED,
MLOG_COMP_LIST_END_COPY_CREATED and
page_parse_copy_rec_list_to_created_page().

FIXME: Do not disable tests

FIXME: Remove remaining references to the function and deduplicate code.

FIXME: Implement new reusable function (template?) for insert+reorganize.

bb-5.5-sujatha 2019-06-19 09:18:18 UTC 2019-06-19
MDEV-15010: Wrong Seconds_Behind_Master when only starting the SQL_Thread

Author: Sujatha
Author Date: 2019-06-19 09:18:18 UTC

MDEV-15010: Wrong Seconds_Behind_Master when only starting the SQL_Thread

Problem:
=======
When I run replication normally, I get a value in "Seconds_Behind_Master" from
"SHOW SLAVE STATUS". However, when I run only the SQL Thread (on local relay
logs that have been downloaded previously), I have "NULL" in
"Seconds_Behind_Master". I would expect to have a numeric value.

Fix:
===
Implemented following changes.
case 1: "Seconds_Behind_Master" shows 0, when SQL thread is in sync with IO
        thread and IO thread is running.
case 2: "Seconds_Behind_Master" reports NULL, when SQL thread is in sync with
        IO thread and IO thread is stopped.
case 3: "Seconds_Behind_Master" reports NULL, when SQL thread is stopped while
        IO thread is up and running.
case 4: "Seconds_Behind_Master" reports a valid numerical value when IO thread
        is stopped and SQL thread is consuming existing relay log.

bb-10.4-19049 2019-06-19 05:05:39 UTC 2019-06-19
MDEV-19049 Server crashes in check_duplicate_long_entry_key, ASAN stack-buffe...

Author: Sachin Setiya
Author Date: 2019-06-19 05:05:39 UTC

MDEV-19049 Server crashes in check_duplicate_long_entry_key, ASAN stack-buffer-overflow in Field_blob::get_key_image

Long Unique keys should always be last unique key.

bb-10.1-MDEV-19660 2019-06-18 08:24:26 UTC 2019-06-18
MDEV-19660: wsrep_rec_get_foreign_key() is dereferencing a stale pointer to a...

Author: Jan Lindström
Author Date: 2019-06-04 10:19:40 UTC

MDEV-19660: wsrep_rec_get_foreign_key() is dereferencing a stale pointer to a page that was previously latched

In row_ins_foreign_check_on_constraint(), clustered index record is being passed to wsrep_append_foreign_key() after releasing the latch. If a record has been changed by other thread in the meantime then it could lead to a crash when
wsrep_rec_get_foreign_key () tries to access the record.

wsrep_append_foreign_key
 Added call to error reporting function and debug error injection.

row_ins_foreign_report_err_low
 Moved actual error reporting to a file to this low level function.

row_ins_foreign_report_err
 Use new row_ins_foreign_report_err_low function for error reporting
 to a file.

wsrep_report_foreign_key_error
 New function to report foreign key errors when appending a key for
 Galera processing.

row_ins_foreign_check_on_constraint
 Use cascade->pcur->old_rec instead of clust_rec.

bb-5.5-robert 2019-06-18 08:15:26 UTC 2019-06-18
MDEV-19531 Add colors to mtr

Author: Eugene
Author Date: 2019-05-27 10:18:24 UTC

MDEV-19531 Add colors to mtr

Colors possibility auto detected. [ such ] stuff is colored.

Patch by Sergei Golubchik

bb-10.3-bar 2019-06-18 02:35:07 UTC 2019-06-18
MDEV-17363 - Compressed columns cannot be restored from dump

Author: Alexander Barkov
Author Date: 2019-06-18 00:58:15 UTC

MDEV-17363 - Compressed columns cannot be restored from dump

In collaboration with Sergey Vojtovich <svoj@mariadb.org>

The COMPRESSED clause is now a part of the data type and goes immediately
after the data type and length, but before the CHARACTER SET clause,
and before column attributes such as DEFAULT, COLLATE, ON UPDATE,
SYSTEM VERSIONING, engine specific column attributes.

In the old reduction, the COMPRESSED clause was a column attribute.

New syntax:
  <varchar or text data type> <length> <compression> <character set> <column attributes>
  <varbinary or blob data type> <length> <compression> <column attributes>

New syntax examples:
  VARCHAR(1000) COMPRESSED CHARACTER SET latin1 DEFAULT ''
  BLOB COMPRESSED DEFAULT ''

Deprecate syntax examples:
  VARCHAR(1000) CHARACTER SET latin1 COMPRESSED DEFAULT ''
  TEXT CHARACTER SET latin1 DEFAULT '' COMPRESSED
  VARBINARY(1000) DEFAULT '' COMPRESSED

As a side effect:
- COMPRESSED is not a valid SP name in SQL/PSM routines any more
  (but it's still valid SP name in sql_mode=ORACLE)

- COMPRESSED is now allowed in combination with GENERATED ALWAYS AS:

  TEXT COMPRESSED GENERATED ALWAYS AS REPEAT('a',1000)

10.4-opt_trace 2019-06-17 14:47:56 UTC 2019-06-17
Suggestion-3

Author: varun
Author Date: 2019-06-17 11:57:39 UTC

Suggestion-3

bb-10.1-monty 2019-06-17 10:19:46 UTC 2019-06-17
Fixed Aria recovery progress printing

Author: Michael Widenius
Author Date: 2019-06-13 17:42:13 UTC

Fixed Aria recovery progress printing

- When recovery failed, errors would not be printed on
  new lines.
- Print more information if file lengths are changed
- Added logging of table name for entries INCOMPLETE_LOG and
  REDO_REPAIR_TABLE

bb-10.1-robert 2019-06-17 08:28:18 UTC 2019-06-17
MDEV-19636 Usage message for plugin activation option doesn't mention FORCE_P...

Author: Anel Husakovic
Author Date: 2019-06-10 16:07:49 UTC

MDEV-19636 Usage message for plugin activation option doesn't mention FORCE_PLUS_PERMANENT

In addition same message is applied for mtr

bb-10.5-MDEV-19780 2019-06-17 07:22:12 UTC 2019-06-17
MDEV-19780 Remove the TokuDB storage engine

Author: Marko Mäkelä
Author Date: 2019-06-17 07:07:54 UTC

MDEV-19780 Remove the TokuDB storage engine

The TokuDB storage engine has been deprecated by upstream
Percona Server 8.0 in favor of MyRocks and will not be available
in subsequent major upstream releases.

Let us remove it from MariaDB Server as well.
MyRocks is actively maintained, and it can be used instead.

bb-10.2-mdev17045 2019-06-15 16:55:57 UTC 2019-06-15
MDEV-17045: MyRocks tables cannot be updated when binlog_format=MIXED.

Author: Sergey Petrunia
Author Date: 2019-06-15 16:55:57 UTC

MDEV-17045: MyRocks tables cannot be updated when binlog_format=MIXED.

bb-10.4-MDEV-17591 2019-06-15 06:13:06 UTC 2019-06-15
MDEV-17592 Create MariaDB named commands/symlinks

Author: Rasmus Johansson
Author Date: 2019-05-18 06:11:01 UTC

MDEV-17592 Create MariaDB named commands/symlinks

10.4-midenok 2019-06-14 08:02:24 UTC 2019-06-14
mysql-test-run: imply --force when --max-test-fail is specified from command ...

Author: midenok
Author Date: 2019-06-13 09:13:08 UTC

mysql-test-run: imply --force when --max-test-fail is specified from command line

bb-hf-mdev-18661 2019-06-14 07:32:30 UTC 2019-06-14
MDEV-18661 loading the audit plugin causes performance regression.

Author: Alexey Botchkov
Author Date: 2019-06-14 07:32:30 UTC

MDEV-18661 loading the audit plugin causes performance regression.

Plugin fixed to not lock the LOCK_operations when not active.
Server fixed to lock the LOCK_plugin less - do it once per thread
and then only if a plugin was installed/uninstalled.

bb-10.4-MDEV14101 2019-06-14 04:39:27 UTC 2019-06-14
Fix for embedded test

Author: Georg Richter
Author Date: 2019-06-14 04:39:27 UTC

Fix for embedded test

bb-anel-10.3-refactor-store_schema_params 2019-06-13 14:55:58 UTC 2019-06-13
Do empty job for package/package body - refactor store_schema_params()

Author: Anel Husakovic
Author Date: 2019-06-13 14:55:58 UTC

Do empty job for package/package body - refactor store_schema_params()

bb-10.5-MDEV-18863 2019-06-13 11:59:54 UTC 2019-06-13
MDEV-18863: Galera SST scripts can't read [mysqldN] option groups

Author: Julius Goryavsky
Author Date: 2019-06-13 11:59:54 UTC

MDEV-18863: Galera SST scripts can't read [mysqldN] option groups

Some users and some scripts (for example, mysqld_multi.sh) use special
option groups with names like [mysqld1], [mysqld2], ..., [mysqldN].

But SST scripts can't currently fully support these option groups.
The only option group-related value it gets from the server is
--defaults-group-suffix from the server, if that option was set
for mysqld when the server was started.

However, the SST script does not get told by the server to read
these option groups, so this means that the SST script will fail to
read options like innodb-data-home-dir when it is in a option group
like [mysqld1]...[mysqldN].

Moreover, SST scripts ignore many parameters that can be passed
to them explicitly and cannot transfer them further, for example,
to the input of mariabackup utility. Ideally, we want to transfer
all the parameters of the original mysqld call to utilities such
as mariabackup, however the SST script does not receive these
parameters and therefore cannot transfer them to mariabackup.

To correct these shortcomings, we need to add a transfer to the
script of all the parameters of the original mysqld call, and in
the SST scripts themselves provide for the transfer of these
parameters to utilities such as mariabackup. To prevent these
parameters from mixing with the script's own parameters, they
should be transferred to SST script after the special option
"--mysqld-args", followed by the line of the original parameters,
as received by mysqld call at the time of launch (further all
these parameters will be passed to mariabackup, for example).

In addition, the SST scripts themselves must be refined so that
they can read the parameters from the user-selected group, not just
from the global mysqld configuration group. And also so that they
can receive the parameters (which important for their work) as
command-line arguments.

bb-10.3-MDEV-17091 2019-06-13 07:18:10 UTC 2019-06-13
Assertion `old_part_id == m_last_part' failed in ha_partition::update_row or ...

Author: Nikita Malyavin
Author Date: 2019-03-04 09:09:30 UTC

Assertion `old_part_id == m_last_part' failed in ha_partition::update_row or `part_id == m_last_part' in ha_partition::delete_row upon UPDATE/DELETE after dropping versioning

PRIMARY KEY change hadn't been treated as partition reorganization in case of partitioning by KEY() (without parameters).

* set `*partition_changed= true` in the described case.
* since add/drop system versioning does not affect alter_info->key_list, it required separate attention

nm/mtr-force-doc 2019-06-13 06:15:52 UTC 2019-06-13
mysql-test-run: mention --force in --max-test-fail description

Author: Nikita Malyavin
Author Date: 2019-06-13 06:15:52 UTC

mysql-test-run: mention --force in --max-test-fail description

bb-10.3-andrei 2019-06-12 15:14:42 UTC 2019-06-12
MDEV-18450 wait for all slaves shutdown

Author: Andrei Elkin
Author Date: 2019-06-12 15:14:42 UTC

MDEV-18450 wait for all slaves shutdown

backport to 10.3.

bb-10.3-MDEV-17891 2019-06-12 12:11:45 UTC 2019-06-12
MDEV-17891 Assertion failures in select_insert::abort_result_set and mysql_lo...

Author: Nikita Malyavin
Author Date: 2019-03-05 11:12:54 UTC

MDEV-17891 Assertion failures in select_insert::abort_result_set and mysql_load upon attempt to replace into a full table

* set modified_non_trans_table in one missed place

bb-10.4-MDEV-14101 2019-06-11 19:54:45 UTC 2019-06-11
MDEV-14101 Provide an option to select TLS protocol version

Author: Georg Richter
Author Date: 2019-06-11 10:44:16 UTC

MDEV-14101 Provide an option to select TLS protocol version

Server and command line tools now support option --tls_version to specify the
TLS version between client and server. Valid values are TLSv1.0, TLSv1.1, TLSv1.2, TLSv1.3
or a combination of them. E.g.

--tls_version=TLSv1.3
--tls_version=TLSv1.2,TLSv1.3

In case there is a gap between versions, the lowest version will be used:
--tls_version=TLSv1.1,TLSv1.3 -> Only TLSv1.1 will be available.

If the used TLS library doesn't support the specified TLS version, it will use
the default configuration.

Limitations:

SSLv3 is not supported. The default configuration doesn't support TLSv1.0 anymore.
TLSv1.3 protocol currently is only supported by OpenSSL 1.1.0 (client and server) and
GnuTLS 3.6.5 (client only).

Overview of TLS implementations and protocols

Server:

+-----------+-----------------------------------------+
| Library | Supported TLS versions |
+-----------+-----------------------------------------+
| WolfSSL | TLSv1.1, TLSv1,2 |
+-----------+-----------------------------------------+
| OpenSSL | (TLSv1.0), TLSv1.1, TLSv1,2, TLSv1.3 |
+-----------+-----------------------------------------+
| LibreSSL | (TLSv1.0), TLSv1.1, TLSv1,2, TLSv1.3 |
+-----------+-----------------------------------------+

Client (MariaDB Connector/C)
+-----------+-----------------------------------------+
| Library | Supported TLS versions |
+-----------+-----------------------------------------+
| GnuTLS | (TLSv1.0), TLSv1.1, TLSv1.2, TLSv1.3 |
+-----------+-----------------------------------------+
| Schannel | (TLSv1.0), TLSv1.1, TLSv1.2 |
+-----------+-----------------------------------------+
| OpenSSL | (TLSv1.0), TLSv1.1, TLSv1,2, TLSv1.3 |
+-----------+-----------------------------------------+
| LibreSSL | (TLSv1.0), TLSv1.1, TLSv1,2, TLSv1.3 |
+-----------+-----------------------------------------+

bb-10.4-MDEV-16249 2019-06-11 16:42:45 UTC 2019-06-11
MDEV-16249 CHECKSUM TABLE for a spider table is not parallel and saves all da...

Author: Sergei Golubchik
Author Date: 2019-06-11 15:51:09 UTC

MDEV-16249 CHECKSUM TABLE for a spider table is not parallel and saves all data in memory in the spider head by default (#1328)

followup for be5c432a42e

ha_partition::calculate_checksum() has to invoke calculate_checksum()
for partitions unconditionally, not under (HA_HAS_OLD_CHECKSUM | HA_HAS_NEW_CHECKSUM).
Because the server uses ::info() to ask for a live checksum, while
calculate_checksum() must, precisely, calculate it the slow way,
also for tables that don't have the live checksum at all.

Also, fix the compilation on Windows (ha_checksum/ulonglong type mix).

bb-MDEV14101 2019-06-10 07:15:49 UTC 2019-06-10
Fixed windows build

Author: Georg Richter
Author Date: 2019-06-10 07:15:49 UTC

Fixed windows build

bb-10.2-mdev19714 2019-06-07 23:28:29 UTC 2019-06-07
MDEV-19714: JOIN::pseudo_bits_cond is not visible in EXPLAIN FORMAT=JSON

Author: Sergey Petrunia
Author Date: 2019-06-07 23:28:29 UTC

MDEV-19714: JOIN::pseudo_bits_cond is not visible in EXPLAIN FORMAT=JSON

Make it visible

bb-10.4-wlad-128-indexes 2019-06-07 09:41:18 UTC 2019-06-07
MDEV-19709 Bitmap<128>::merge etc may crash on older GCC versions

Author: Vladislav Vaintroub
Author Date: 2019-06-07 09:41:18 UTC

MDEV-19709 Bitmap<128>::merge etc may crash on older GCC versions

Older GCC generates SSE instruction on not-128-bit-aligned data in
Bitmap<128>::buffer

Workaround by forcing GCC not to use SSE on Bitmap<N> template.

bb-10.3-mdev19600 2019-06-05 11:00:45 UTC 2019-06-05
MDEV-19600: The optimizer should be able to produce rows=1 estimate for uniqu...

Author: Sergey Petrunia
Author Date: 2019-05-27 07:40:04 UTC

MDEV-19600: The optimizer should be able to produce rows=1 estimate for unique index with NULLable columns

Modify best_access_path() to produce rows=1 estimate for null-rejecting
lookups on unique NULL keys.

bb-10.2-mdev19608 2019-05-27 14:43:13 UTC 2019-05-27
MDEV-19608: MyRocks should check if it is compiled with CRC32 support

Author: Sergey Petrunia
Author Date: 2019-05-27 14:43:13 UTC

MDEV-19608: MyRocks should check if it is compiled with CRC32 support

- An attempt at checking that MyRocks ins compiled with fast CRC32

bb-hf-sup25102 2019-05-24 16:48:09 UTC 2019-05-24
Custom build.

Author: Alexey Botchkov
Author Date: 2019-05-24 16:48:09 UTC

Custom build.

bb-10.4-MDEV-18994 2019-05-23 07:30:37 UTC 2019-05-23
MDEV-18994 Fix the bug encountered when the size of (v1,v2,v3...) value list ...

Author: Kentoku SHIBA
Author Date: 2019-05-02 19:10:35 UTC

MDEV-18994 Fix the bug encountered when the size of (v1,v2,v3...) value list in “select * from tb where id in (v1, v2, v3...)” is greater than 1000
Some engines need to avoid in optimization.

bb-10.5-vicentiu 2019-05-22 18:16:39 UTC 2019-05-22
Make it trivial to get stack traces from external programs.

Author: Monty
Author Date: 2019-05-17 13:34:35 UTC

Make it trivial to get stack traces from external programs.

To get a stacktrace in a program like aria_chk, one only have to do:

#include <my_stacktrace.h>

call my_init_stacktrace(1) in main().

bb-5.5-MDEV-5924 2019-05-22 12:59:00 UTC 2019-05-22
MDEV-5924: MariaDB could crash after changing the query_cache size

Author: Oleksandr Byelkin
Author Date: 2019-05-22 12:59:00 UTC

MDEV-5924: MariaDB could crash after changing the query_cache size

The real problem was that attempt to roll back cahnes after end of memory in QC was made incorrectly and lead to using uninitialized memory.
(bug has nothing to do with resize operation, it is just lack of resources erro processed incorrectly)

bb-10.4-MDEV-19540 2019-05-21 14:10:03 UTC 2019-05-21
MDEV-19540: 10.4 allow lock options with SELECT in brackets which previous ve...

Author: Oleksandr Byelkin
Author Date: 2019-05-21 13:33:35 UTC

MDEV-19540: 10.4 allow lock options with SELECT in brackets which previous version do not

Check locking options and brackets combinations.

bb-10.4-andrei 2019-05-20 19:32:37 UTC 2019-05-20
MDEV-7974: hton ref_count and more tests.

Author: Andrei Elkin
Author Date: 2019-05-20 19:32:37 UTC

MDEV-7974: hton ref_count and more tests.

ref_count may be found 1 at shutdown caused by "native" trx detach
which makes THD::ha_data[].ha_ptr zero to hook away the problematic counter decr.
The test part includes rpl_xa_gaps (todo: turn RC on slave whenever ROW format).

10.5-MDEV-18724 2019-05-20 11:39:59 UTC 2019-05-20
WIP: Explicit memory barriers

Author: Marko Mäkelä
Author Date: 2019-02-24 22:20:10 UTC

WIP: Explicit memory barriers

bb-10.3-varun 2019-05-20 11:10:08 UTC 2019-05-20
MDEV-15777: Support Early NULLs filtering-like restrictions in the range opti...

Author: varun
Author Date: 2019-05-20 09:44:30 UTC

MDEV-15777: Support Early NULLs filtering-like restrictions in the range optimizer

For eqjoin conditions, we add a NOT NULL predicate so as to allow the range optimizer
to use the predicate and possibly create a range access on the given table.

Example:
  select * from t1,t2 where t1.a=t2.a; we have KEY(a) on t1
  we would inject a NOT NULL predicate t1.a IS NOT NULL for table t1
  this would allow the range optimizer to create ranges and we get a
  range access on table t1, then we will be able
  to do an early NULL filtering for ranges too.

maria-s3 2019-05-20 08:22:43 UTC 2019-05-20
Make it trivial to get stack traces from external programs.

Author: Monty
Author Date: 2019-05-17 13:34:35 UTC

Make it trivial to get stack traces from external programs.

To get a stacktrace in a program like aria_chk, one only have to do:

#include <my_stacktrace.h>

call my_init_stacktrace(1) in main().

bb-10.4-MDEV-19002 2019-05-19 18:15:32 UTC 2019-05-19
MDEV-19002 Partition performance optimization

Author: Kentoku SHIBA
Author Date: 2019-05-19 17:05:22 UTC

MDEV-19002 Partition performance optimization
Add the partition options of the following function for batch call instead o
- store_lock
- external_lock
- start_stmt
- extra
- cond_push
- info_push
- top_table

bb-10.4-mdev19134 2019-05-16 08:50:01 UTC 2019-05-16
MDEV-19134: EXISTS() slower if ORDER BY is defined

Author: Sergey Petrunia
Author Date: 2019-05-10 09:47:44 UTC

MDEV-19134: EXISTS() slower if ORDER BY is defined

Step #2: "[ORDER BY ...] LIMIT n" should not prevent EXISTS-to-IN
conversion, as long as
- the LIMIT clause doesn't have OFFSET
- the LIMIT is not "LIMIT 0".

bb-maria-s3 2019-05-13 11:01:45 UTC 2019-05-13
MDEV-17841 S3 storage engine

Author: Monty
Author Date: 2019-04-15 15:16:02 UTC

MDEV-17841 S3 storage engine

A read-only storage engine that stores it's data in (aws) S3

To store data in S3 one could use ALTER TABLE:
ALTER TABLE table_name ENGINE=S3

libmarias3 integration done by Sergei Golubchik
libmarias3 created by Andrew Hutchings

bb-10.4-monty2 2019-05-13 09:58:47 UTC 2019-05-13
Removed obsolete file maria_rename.sh

Author: Monty
Author Date: 2019-05-13 09:58:47 UTC

Removed obsolete file maria_rename.sh

bb-10.3-17390 2019-05-13 06:29:11 UTC 2019-05-13
empty commit 3

Author: Sachin Setiya
Author Date: 2019-05-13 06:29:11 UTC

empty commit 3

bb-10.5-svoj-MDEV-19439 2019-05-10 19:53:12 UTC 2019-05-10
MDEV-19439 - Revert orig_thd hack

Author: Sergey Vojtovich
Author Date: 2019-05-10 19:19:05 UTC

MDEV-19439 - Revert orig_thd hack

This patch is to be squashed with previous one when MDEV-19439 is fixed.
Causes assertion failurs currently.

10.4-drrtuy-MCOL-2178 2019-05-10 15:11:15 UTC 2019-05-10
MDEV-XXX find_select_handler now tries its best to find a handlerton that

Author: Roman Nozdrin
Author Date: 2019-05-10 15:07:36 UTC

MDEV-XXX find_select_handler now tries its best to find a handlerton that
processes the whole query. find_select_handler traverses all tables in all
SELECT_LEX_UNITs for the purpose.

bb-10.3-wlad 2019-05-10 12:48:33 UTC 2019-05-10
Fixed compiler warning in pcregrep.c

Author: Monty
Author Date: 2019-05-10 12:48:33 UTC

Fixed compiler warning in pcregrep.c

bb-10.2-anel-MDEV19205 2019-05-08 13:55:20 UTC 2019-05-08
MDEV 1930 Sphinx unable to connect using a host name

Author: Anel Husakovic
Author Date: 2019-05-08 13:40:37 UTC

MDEV 1930 Sphinx unable to connect using a host name

- Enable the test `sphinx.sphinx` which was disabled by MDEV 10986,
  comit ee0094d2fd48dac0c
- ADd test case to `sphinx.sphinx` to cover host as localhost instead of 127.0.0.1
- Add result file for single test

bb-10.1-MDEV-19405 2019-05-07 09:51:59 UTC 2019-05-07
MDEV-19405: Galera test failure on galera_parallel_autoinc_largetrx

Author: Jan Lindström
Author Date: 2019-05-07 09:51:59 UTC

MDEV-19405: Galera test failure on galera_parallel_autoinc_largetrx

Test case was not stable. Fixed also galera_parallel_autoinc_manytrx
as it has the same problem.

bb-hf-mdev-18661-plugin 2019-05-07 06:26:55 UTC 2019-05-07
MDEV-18661

Author: Alexey Botchkov
Author Date: 2019-05-07 06:26:55 UTC

MDEV-18661

lock_atomic initialization added.

bb-10.1-MDEV-19404 2019-05-07 06:10:56 UTC 2019-05-07
MDEV-19404: Assertion failure on !is_thread_specific || (mysqld_server_initia...

Author: Jan Lindström
Author Date: 2019-05-07 06:10:56 UTC

MDEV-19404: Assertion failure on !is_thread_specific || (mysqld_server_initialized && thd)

In wsrep_plugins_post_init we iterate all theads and if they are
galera appliers (wsrep_applier) we init session variables. However,
current_thd was not set and recent changes on session variables
require holding LOCK_gloal_system_variables mutex.

101200 of 432 results

Other repositories

Name Last Modified
lp:maria 37 minutes ago
lp:~maria-captains/maria/+git/connector-c 2018-01-08
12 of 2 results
You can't create new repositories for MariaDB.