summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* ColumnStore RPM packaging fixesSergei Golubchik2020-07-012-9/+16
| | | | | | | | | 1. move columnstore-as-a-submodule RPM packaging away from the submodule 2. set REQUIRES correctly, appending to existing REQUIRES 3. same for USER_FILELIST and CONFLICTS 4. set all variables in the correct scope 5. skip columnstore correctly (not when RPM or DEB, but when a plugin target is not created)
* A few important fixes for columnstore.Patrick LeBlanc2020-07-013-8/+2
| | | | | | - fix columnstore's python dependencies (MCOL-4114) - reduce compiler warning count from 14k to ~100 (MCOL-4030) - disable bintar builds
* Merge remote-tracking branch 'origin/10.5-MDEV-22729' into 10.5Julius Goryavsky2020-06-304-31/+21
|\
| * MDEV-22729: Additional fix for branch 10.510.5-MDEV-22729Julius Goryavsky2020-06-243-3/+6
| |
| * MDEV-22729 fixes for galera.galera_slave_replay testsjaakola2020-06-232-28/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test was changing wsrep_on option in node_3, which is native MariaDB server (i.e. not a cluster node). Native NariaDB server should not manipulate wsrep replication state, this problem is fixed. galera.galera_slave_replay test phase 2 will cause certification failure for async slave SQL handler thread. This certification failure is now monitored and required to happen in the test. The test phase 2, generates scenario, where async slave SQL handler faces certification failure and galera slave applier is paused when this happens. This makes the test vulnerable for anomaly described in MDEV-22632. Therefore the fix in this commit depends on MDEV-22632, and should be merged after the fix for MDEV-22632.
* | Make the test func_json deterministicVarun Gupta2020-06-302-5/+6
| |
* | MDEV-23038 Service registered with deprecated "mysqld.exe --install" crashes ↵Vladislav Vaintroub2020-06-292-10/+30
| | | | | | | | | | | | | | | | | | | | on startup Services, which is registered with 2 arguments "C:\path\to\mysqld.exe service_name" would pass non-null terminated command line to win_main(), and this would crash in defaults handling. Make sure win_main() gets null-terminated argv.
* | MDEV-23029: JSON_OBJECTAGG returns NULL when used together with GROUP BYVarun Gupta2020-06-294-0/+28
| | | | | | | | | | | | | | | | | | | | Quick grouping is not supported for JSON_OBJECTAGG. The same for GROUP_CONCAT too so make sure that Item::quick_group is set to FALSE. We need to make sure that in the case of JSON_OBJECTAGG we don't create an index over grouping fields of the temp table and update the result after each iteration. Instead we should first sort the result in accordance to the GROUP BY fields and then perform the grouping and write the result to the temp table.
* | MDEV-23039 update removed_variables in mysql_upgrade_service for 10.5Vladislav Vaintroub2020-06-291-0/+4
| |
* | Select Handlers: Initialize JOIN::fields when running with pushed selectSergei Petrunia2020-06-261-0/+3
| | | | | | | | | | Failure to do this causes crashes if query output is piped to an output that requires a [pseudo] temporary table.
* | MDEV-22979 "mysqld --bootstrap" / mysql_install_db hangs when Spider is ↵Kentoku SHIBA2020-06-261-2/+11
| | | | | | | | installed
* | Cmake now ignores ColumnStore without an explicit -DDEB | -DRPM andRoman Nozdrin2020-06-261-1/+1
| | | | | | | | -DPLUGIN_COLUMNSTORE=YES or its analog.
* | fix clang buildEugene Kosov2020-06-253-17/+18
| |
* | MDEV-22951: rpl.rpl_slave_alias_replica failed in buildbot with wrong resultSujatha2020-06-252-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: ======== rpl.rpl_slave_alias_replica test fails sporadically on build bot as shown below. rpl.rpl_slave_alias_replica 'innodb,stmt' w4 [ fail ] +++ /usr/local/mariadb-10.5.4-linux-x86_64/mysql-test/suite/rpl/r/ rpl_slave_alias_replica.reject 2020-06-12 09:52:25.191267945 +0000 @@ -22,6 +22,7 @@ SHOW REPLICA HOSTS; Server_id Host Port Master_id 2 127.0.0.1 SLAVE_PORT 1 +2 127.0.0.1 SLAVE_PORT 1 Analysis: ======== The SHOW REPLICA HOSTS command reports an additional row for the same server occasionally. This happens because of zombie dump threads on the master. Error log from master also confirms that "A slave with the same server_uuid/server_id as this slave has connected to the master". Since SHOW REPLICA HOSTS goes through the list of dump threads and reports the corresponding hosts,the same host is reported twice. Fix: === Instead of capturing the SHOW REPLICA HOSTS command in result file use wait_show_condition.inc. This will ensure that SHOW REPLICA HOSTS command fetches slave host details.
* | Merge branch 'github/10.5' into bb-10.5-releaseSergei Golubchik2020-06-2428-287/+358
|\ \
| * | bump the VERSIONDaniel Bartholomew2020-06-241-1/+1
| | |
| * | Fixed memory leak in item_sum.cc::report_cut_value_error()Monty2020-06-241-3/+6
| | | | | | | | | | | | Only affects DBUG builds
| * | Exclude needs to be on receiving side tooVincent Milum Jr2020-06-241-0/+1
| | | | | | | | | | | | | | | Exclude needs to be on receiving side too It is possible that other excludes may need to be added to the receiving side too that exist on the sending side.
| * | MDEV-21709 ZFS snapdir=visible breaks Galera rsync SST replcationVincent Milum Jr2020-06-241-1/+2
| | | | | | | | | Fix for Galera rsync SST with the specific conditions listed in MDEV-21709
| * | MDEV-19749 MDL scalability regression after backup locksEugene Kosov2020-06-231-26/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MDL_lock::Ticket_list::remove_ticket(): reduce algoritmic complexity from O(N) to O(1) MDL_lock::Ticket_list::clear_bit_if_not_in_list(): removed MDL_lock::Ticket_list::m_type_counters: a map of ticket type to count. Initialization is memset(0) which takes time.
| * | MDEV-19749 MDL scalability regression after backup locksEugene Kosov2020-06-234-115/+78
| | | | | | | | | | | | | | | use ilist instread of I_P_List because it's generally slightly faster on inserting, removing and iterating
| * | MDEV-22701 InnoDB: encapsulate trx_sys.mutex and trx_sys.trx_list into a ↵Eugene Kosov2020-06-239-98/+123
| |/ | | | | | | | | | | | | | | | | | | separate class thread_safe_trx_ilist_t: almost generic one UT_LIST was replaced with ilist<t> innobase_kill_query: wrong comment removed.
| * Fixing a testbb-10.5-fkVarun Gupta2020-06-222-2/+2
| |
| * MDEV-22420 DDL on temporary object is prohibited when XA is in prepare stateAndrei Elkin2020-06-223-0/+68
| | | | | | | | | | | | | | | | | | The parser must reject DDL operations on temporary objects when they may modify or alter such object, including temporary tables and sequences. The rejection is regardless (has been already in place for bin-loggable DML:s) of the binlogging capability of the server or connection. The patch implements the requirement. A binlog test is added.
| * MDEV-22187: SIGSEGV in ha_innobase::cmp_ref on DELETEVarun Gupta2020-06-222-0/+48
| | | | | | | | Added a new test file for tests with delete using INNODB.
| * Post-fix for 0a9633ee: Basic LEX::print function that supports UPDATEsSergei Petrunia2020-06-191-2/+5
| | | | | | | | | | | | | | | | | | Backport this fix: CLX-105: UPDATE query causes crash LEX::print() should not crash when the UPDATE has no WHERE clause Fixes CLX-373.
| * MDEV-22931 mtr_t::mtr_t() allocates some memoryThirunarayanan Balathandayuthapani2020-06-195-42/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mtr_t::m_freed_pages: Renamed from m_freed_ranges and made it as pointer indirection. mtr_t::add_freed_offset(): Allocates m_freed_pages. mtr_t:clear_freed_ranges(): Removed. mtr_t::init(): Added debug assertion to check whether m_freed_pages is not yet initialized. btr_page_alloc_low(): Remove #ifdef UNIV_DEBUG_SCRUBBING. mtr_t::commit(): Delete m_freed_pages, reset m_trim_pages and m_freed_in_system_tablespace. fil_space_t::clear_freed_ranges(): Added a comment to explain how undo log tablespaces uses it.
| * MDEV-22922: galera_ftwrl_drain test failedJulius Goryavsky2020-06-191-1/+1
| | | | | | | | | | A new state has been added to the wait condition, which eliminates the error during the test.
* | return --help optionmariadb-10.5.4Oleksandr Byelkin2020-06-231-0/+6
| |
* | MDEV-22981: Bad "default-character-set" option in [client] option group ↵Oleksandr Byelkin2020-06-231-1/+1
| | | | | | | | | | | | 50-client.cnf on Debian/Ubuntu Remove unsuported parameter by some clients.
* | update C/CSergei Golubchik2020-06-221-0/+0
| |
* | MDEV-22972 After upgrading server/client to 10.5 clients identified via ↵Sergei Golubchik2020-06-211-1/+1
| | | | | | | | | | | | non-builtin plugins cannot be authenticated in 10.5.4 libmariadb3 plugins were moved to a new location
* | update MCSSergei Golubchik2020-06-211-0/+0
| |
* | MDEV-22970: Disable MDEV-8139 due to corruption concernsMarko Mäkelä2020-06-213-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Contrary to our exceptations, it seems that a mini-transaction can allocate a page that it had freed earlier. The function mtr_t::init() is not prepared to deal with this, and it could happen that a newly initialized page will be scrubbed instead. This can affect the operation on page_compressed tables, or any InnoDB data files when innodb_background_scrub_data_uncompressed=ON. Also, buf_read_recv_pages() can interfere with the MDEV-8139 logic during crash recovery. Let us temporarily disable MDEV-8139 due to such concerns. Note: Scrubbing will partially work thanks to MDEV-15528. Only in cases where the page does not exist in the buffer pool at the time of the page flush, we would skip the scrubbing action.
* | MDEV-22969 MariaDB-server package conflicts with previous versions of ↵Sergei Golubchik2020-06-211-4/+4
| | | | | | | | | | | | MariaDB-client followup to script renaming
* | MDEV-22967 Spider does not load in 10.5 with default settingsSergei Golubchik2020-06-211-1/+1
| | | | | | | | increase spider maturity accordingly
* | columnstore: fix python dependencies on sles123Sergei Golubchik2020-06-211-1/+1
| |
* | List of unstable tests for 10.5.4 releaseElena Stepanova2020-06-201-284/+336
| |
* | update MCS maturitySergei Golubchik2020-06-191-1/+1
| |
* | Change the method to run SQL statements installing MCS to fix major update ↵Roman Nozdrin2020-06-193-3/+4
| | | | | | | | | | | | scenario. Added binutils dependency.
* | Both RPM and DEB now restart MDB uninstalling the plugin.Roman Nozdrin2020-06-197-55/+91
| | | | | | | | | | | | | | | | Both RPM and DEB now conflicts on previous versions of MCS. Trim .deb packaging. MCS now depends on python. Python version varies in distributions.
* | columnstore: delete .rpmsave, install testsSergei Golubchik2020-06-192-10/+13
| |
* | Change installed files list to align with the recent changes in the server.Roman Nozdrin2020-06-192-2/+1
| | | | | | | | Updated MCS
* | Add an explicit server dependency for RPMs and limit builds to x86_64 and ↵Roman Nozdrin2020-06-191-11/+16
| | | | | | | | i386 only.
* | MDEV-22197 Change .deb cleanup on uninstall and add extra install files.Roman Nozdrin2020-06-193-2/+7
| | | | | | | | Update MCS ref.
* | MCS on i386 debSergei Golubchik2020-06-192-57/+57
| |
* | RPM: columnstore conflicts with thriftSergei Golubchik2020-06-191-0/+1
| |
* | build deb packages for columnstoreSergei Golubchik2020-06-193-10/+11
| |
* | Clean up for debian packaging and updates for systemd service units.Roman Nozdrin2020-06-196-31/+3
| |
* | This patch removes columnstore-libs and columnstore-platform RPMs metadata.Roman Nozdrin2020-06-191-7/+5
| |