summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Adding "const" qualifier to the argument of decimal_actual_fraction().Alexander Barkov2016-01-142-2/+2
|
* MDEV-9220 Split filesort.cc:make_sortkey() and filesort.cc::sortlength() ↵Alexander Barkov2016-01-127-209/+312
| | | | into virtual methods in Type_handler
* MDEV-9393 Split Copy_field::get_copy_func() into virtual methods in FieldAlexander Barkov2016-01-1118-127/+828
| | | | | | | | Also fixes: MDEV-9391 InnoDB does not produce warnings when doing WHERE int_column=varchar_column MDEV-9337 ALTER from DECIMAL and INT to DATETIME returns a wrong result MDEV-9340 Copying from INT/DOUBLE to ENUM is inconsistent MDEV-9392 Copying from DECIMAL to YEAR is not consistent about warnings
* Fix process handle leak in buildbot. GenerateConsoleCtrlEvent sent to ↵Vladislav Vaintroub2015-12-301-5/+5
| | | | non-existing process will add a process handle to this non-existing process to console host process conhost.exe
* MDEV-8491 - On shutdown, report the user and the host executed that.Sergey Vojtovich2015-12-302-2/+2
| | | | Fixed main.shutdown failure on Windows.
* Merge remote-tracking branch 'origin/10.1' into 10.2Alexander Barkov2015-12-293770-302150/+723482
|\
| * Merge remote-tracking branch 'origin/10.0' into 10.1Alexander Barkov2015-12-291-5/+5
| |\
| | * Merge remote-tracking branch 'origin/5.5' into 10.0Alexander Barkov2015-12-291-5/+5
| | |\
| | | * Moving Field_blob::store_length() back from protected to public,Alexander Barkov2015-12-291-5/+5
| | | | | | | | | | | | | | | | as it's needed for Cassandra in 10.0.
| * | | Merge remote-tracking branch 'origin/10.0' into 10.1Alexander Barkov2015-12-2910-14/+152
| |\ \ \ | | |/ /
| | * | Merge branch '10.0' of github.com:MariaDB/server into 10.0Alexander Barkov2015-12-292-2/+2
| | |\ \
| | | * | MDEV-9128 - Compiling on IBM System Z failsSergey Vojtovich2015-12-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provided IBM System Z have outdated compiler version, which supports gcc sync builtins but not gcc atomic builtins. It also has weak memory model. InnoDB attempted to verify if __sync_lock_test_and_set() is available by checking IB_STRONG_MEMORY_MODEL. This macro has nothing to do with availability of __sync_lock_test_and_set(), the right one is HAVE_ATOMIC_BUILTINS.
| | | * | MDEV-9128 - Compiling on IBM System Z failsSergey Vojtovich2015-12-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provided IBM System Z have outdated compiler version, which supports gcc sync builtins but not gcc atomic builtins. It also has weak memory model. InnoDB attempted to verify if __sync_lock_test_and_set() is available by checking IB_STRONG_MEMORY_MODEL. This macro has nothing to do with availability of __sync_lock_test_and_set(), the right one is HAVE_ATOMIC_BUILTINS.
| | * | | Merge remote-tracking branch 'origin/5.5' into 10.0Alexander Barkov2015-12-2910-14/+152
| | |\ \ \ | | | |/ / | | |/| / | | | |/
| | | * MDEV-9319 ALTER from a bigger to a smaller blob type truncates too much dataAlexander Barkov2015-12-2910-14/+152
| | | |
| * | | MDEV-9128 - Compiling on IBM System Z failsSergey Vojtovich2015-12-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provided IBM System Z have outdated compiler version, which supports gcc sync builtins but not gcc atomic builtins. It also has weak memory model. InnoDB attempted to verify if __sync_lock_test_and_set() is available by checking IB_STRONG_MEMORY_MODEL. This macro has nothing to do with availability of __sync_lock_test_and_set(), the right one is HAVE_ATOMIC_BUILTINS.
| * | | Fix annoying repetitive tokudb build warning, if MariaDB is build on ↵Vladislav Vaintroub2015-12-241-4/+3
| | | | | | | | | | | | | | | | non-Linux x64 system
| * | | Merge branch '10.0-galera' into 10.1Nirbhay Choubey2015-12-232-8/+18
| |\ \ \
| | * | | MDEV-9224: postfix - thd can be null in reload_acl_and_cache()mariadb-galera-10.0.23Nirbhay Choubey2015-12-231-1/+1
| | | | |
| | * | | Merge branch '5.5-galera' into 10.0-galeraNirbhay Choubey2015-12-221-8/+8
| | |\ \ \
| | | * | | MDEV-9290 : InnoDB: Assertion failure in file trx0sys.cc line 353mariadb-galera-5.5.47Nirbhay Choubey2015-12-221-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Addendum: Save thd's server_status & option_bits before setting the thread specific pointer.
| | * | | | MDEV-9224 : Database lockup on flush in galeraNirbhay Choubey2015-12-221-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A deadlock can occur when the wsrep applier thread while executing FLUSH TABLES waits for MDL lock owned by other local transactions, which in turn are waiting for commit order if their seqno comes after one assigned to FLUSH TABLES. Fixed by making sure that the wsrep applier thread while executing FLUSH TABLES does not wait for table share(s) to be removed from table definition cache.
| * | | | | update resultsmariadb-10.1.10Sergei Golubchik2015-12-232-55/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | innodb 32-bit funcs_1 embedded
| * | | | | remove HA_ERR_INFO, use ER_ALTER_INFOSergei Golubchik2015-12-233-5/+4
| | | | | |
| * | | | | Fixed that ccache can be used again (broken by TokuDB patches)Monty2015-12-231-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | For now, only if ccache is installed with symlinks in /usr/lib64/ccache
| * | | | | Don't send error 0 to my_printf_error()Monty2015-12-234-7/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed by adding HA_ERR_INFO as a informational warning to by used by MyISAM This is used to inform when we create a backup copy of the data file. Also improved informational messages when creating backup copies of data and index files
| * | | | | MDEV-9095 - [PATCH] systemd capability for --memlockSergey Vojtovich2015-12-223-10/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adjust systemd files to enable CAP_IPC_LOCK to allow rootless mlockall (triggered by memlock option). This is amended version of a patch originally submitted by Daniel Black.
| * | | | | MDEV-9081 - Debian: insecure debian-sys-maint password handlingSergey Vojtovich2015-12-221-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set umask so that newly created file is not readable by others. This is a quick fix to close security gap. To be replaced by MDEV-8375 - passwordless root login.
| * | | | | MDEV-9209 - [PATCH] scripts: Do not prepend the prefix to absolute pathsSergey Vojtovich2015-12-225-31/+36
| | | | | | | | | | | | | | | | | | | | | | | | Allow absolute paths for INSTALL_*DIR.
| * | | | | Merge branch '10.1' into bb-10.1-sergSergei Golubchik2015-12-227-21/+136
| |\ \ \ \ \
| | * | | | | MDEV-7540 Information Schema SPATIAL_REF_SYS contents don't match the ↵Alexey Botchkov2015-12-213-8/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | expected contents. Table content filled appropriately. Thare are still just two records as we don't have geodetics yet.
| | * | | | | MDEV-8627: SHOW GRANTS does not work for a replicated roleVicențiu Ciorbaru2015-12-213-1/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The bug was caused by accessing uninitialized fields within the LEX related to ssl by mysql_show_grants() -> get_current_user() -> has_auth() function.
| | * | | | | MDEV-9141 : [PATCH] Add CA validation to wsrep_sst_xtrabackup-v2.shNirbhay Choubey2015-12-201-12/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add CA validation to wsrep_sst_xtrabackup-v2.sh. - Also added a few {} around tpem for consistency. - Abort if encryption is requested but socat is not ssl-enabled. Patch contributed by : Klaas Demter
| * | | | | | fix galera.lp1438990 testSergei Golubchik2015-12-221-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | binlog_savepoint_rollback() should not try to truncate a binlog unless binlog_savepoint_set has actually remembered the position to truncate to.
| * | | | | | Merge branch 'github/10.0-galera' into 10.1Sergei Golubchik2015-12-2226-141/+382
| |\ \ \ \ \ \ | | | |/ / / / | | |/| | | | | | | | | | | Note: some tests fail, just as they failed before the merge!
| | * | | | | MDEV-8869: Potential lock_sys->mutex deadlockbb-10.0-galera-janJan Lindström2015-12-218-27/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In wsrep BF we have already took lock_sys and trx mutex either on wsrep_abort_transaction() or before wsrep_kill_victim(). In replication we could own lock_sys mutex taken in lock_deadlock_check_and_resolve().
| | * | | | | Merge branch '5.5-galera' into 10.0-galeraNirbhay Choubey2015-12-194-1/+65
| | |\ \ \ \ \ | | | | |/ / / | | | |/| | |
| | | * | | | MDEV-9290 : InnoDB: Assertion failure in file trx0sys.cc line 353Nirbhay Choubey2015-12-163-1/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As a fix for MDEV-8208, for initial wsrep threads, the invocation of init_for_queries() was moved after plugins were initialized. Due to which, OPTION_BEGIN bit of wsrep applier THD (originally set in wsrep_replication_process) got reset due to implicit commit within init_for_queries(). As a result, events from a multi-statement transaction from another node were committed separately by the applier thread, which leads to an assertion as they all carry same seqno. Fixed by making sure that variable.option_bits are restored post init_for_queries(). Also restored server_status. Added a test case.
| | | * | | | Merge tag 'mariadb-5.5.47' into 5.5-galeraNirbhay Choubey2015-12-10122-749/+1962
| | | |\ \ \ \
| | | * | | | | Add warnings to galera test suppression list.mariadb-galera-5.5.46Nirbhay Choubey2015-10-151-0/+2
| | | | | | | |
| | | * | | | | Fix galera_var_dirty_reads test.Nirbhay Choubey2015-10-131-0/+16
| | | | | | | |
| | | * | | | | Merge tag 'mariadb-5.5.46' into 5.5-galeraNirbhay Choubey2015-10-13112-488/+2263
| | | |\ \ \ \ \
| | * | \ \ \ \ \ Merge tag 'mariadb-10.0.23' into 10.0-galeraNirbhay Choubey2015-12-193686-302425/+724334
| | |\ \ \ \ \ \ \
| | * | | | | | | | MDEV-9162 : MariaDB Galera Cluster memory leak on async slave nodeNirbhay Choubey2015-12-146-18/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As galera node (slave) received query log events from an async replication master, it partially wrote the updates made to replication state table (mysql.gtid_slave_pos) to galera transaction writeset post TOI. As a result, the transaction handle, thus created within galera, was never freed/purged as the corresponding trx did not commit. Thus, it kept piling up for every query log event and was only reclaimed upon server shutdown when the transaction map object got destructed. Fixed by making sure that updates in replication slave state table are not written to galera transaction writeset and thus, not replicated to other nodes.
| | * | | | | | | | MDEV-8869: Potential lock_sys->mutex deadlockJan Lindström2015-12-148-62/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In wsrep brute force (BF) we have already took lock_sys and trx mutex either on wsrep_abort_transaction() or before wsrep_kill_victim().
| | * | | | | | | | Update galera suite global_suppressions.Nirbhay Choubey2015-11-241-1/+3
| | | | | | | | | |
| | * | | | | | | | Increase default MTR_PORT_GROUP_SIZE to 20.Nirbhay Choubey2015-11-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some Galera tests can require more than 10 ports.
| | * | | | | | | | Fix galera.galera_as_slave_nonprim test.Nirbhay Choubey2015-11-203-47/+50
| | | | | | | | | |
| | * | | | | | | | Remove duplicate code.Nirbhay Choubey2015-11-201-11/+0
| | | | | | | | | |
| * | | | | | | | | MDEV-8605 MariaDB not use DEFAULT value even when inserted NULL for NOT ↵Sergei Golubchik2015-12-2122-84/+897
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NULLABLE column NOT NULL constraint must be checked *after* the BEFORE triggers. That is for INSERT and UPDATE statements even NOT NULL fields must be able to store a NULL temporarily at least while BEFORE INSERT/UPDATE triggers are running.