- 26 Apr, 2016 13 commits
-
-
Sergei Golubchik authored
1.04.0006
-
Sergei Golubchik authored
5.6.29-76.2
-
Sergei Golubchik authored
5.6.30
-
Sergei Golubchik authored
-
Sergei Golubchik authored
in case of prelocking, don't check table->grant.privilege in handler::external_lock(), do it in handler::start_stmt().
-
Monty authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergey Vojtovich authored
Fixed memory leaks in gen_lex_hash.
-
Sergei Golubchik authored
take into account that agg_arg_charsets_for_comparison() can replace Item_field's with Item_func_conv_charset
-
Alexey Botchkov authored
Added SSL support to the mysqlbinlog.
-
Sergei Golubchik authored
-
Monty authored
Problem was that notify_shared_lock() didn't abort an insert delayed thread if it was in thr_upgrade_write_delay_lock(). ALTER TABLE first takes a weak_mdl_lock, then a thr_lock and then tries to upgrade the mdl_lock. Delayed insert thread first takes a mdl lock followed by a thr_upgrade_write_delay_lock() This caused insert delay to wait for alter table in thr_lock, while alter table was waiting for the mdl lock by insert delay. Fixed by telling mdl to run thr_lock_abort() for the insert delay thread table. We also set thd->mysys_var->abort to 1 for the delay thread when it's killed by alter table to ensure it doesn't ever get locked in thr_lock.
-
- 25 Apr, 2016 4 commits
-
-
Sergei Golubchik authored
restore the error message that was removed by mistake in ec38c1bb
-
Sergei Golubchik authored
Backport a part of commit 439f75f8 Author: Kristian Nielsen <knielsen@knielsen-hq.org> Date: Mon Jun 30 13:59:21 2014 +0200 Fix test failures in rpl.rpl_checksum and rpl.rpl_gtid_errorlog.
-
Monty authored
- Fixed wait condition in kill_processlist-6619 - Updated Ssl_chiper for openssl tests - Added supression for valgrinds when using libcrypto - Fixed wrong argument to pthread_mutex in server_audit.c when compiling with debug - Adding missing debug_sync_update() to debug_sync.h - Added initializers to some variables and fixed error handling in jsonudf.cpp - Fixed cluster_filter_unpack_varchar which doesn't have a stable index type. - Updated compiler_warnings.supp
-
Olivier Bertrand authored
-
- 24 Apr, 2016 14 commits
-
-
Olivier Bertrand authored
when joining a table to a MYSQL indexed table. modified: storage/connect/myconn.cpp modified: storage/connect/myconn.h modified: storage/connect/tabmysql.cpp - Add more tests to the mysql_index.test file modified: storage/connect/mysql-test/connect/r/mysql_index.result modified: storage/connect/mysql-test/connect/t/mysql_index.test - Fix and error causing remote indexing to fail when for not unique index. Was experienced with MYSQL, ODBC and JDBC tables. modified: storage/connect/connect.cc - Fix MDEV-9966 (zero lines returned) modified: storage/connect/ha_connect.cc modified: storage/federatedx/ha_federatedx.cc
-
Sergey Vojtovich authored
Fixed wait condition to wait for InnoDB to actually acquire row locks instead of waiting for thread to enter "Searching rows for update" state (which happens earlier). Also use default wait timeout, 2 seconds can be too few for threads to enter appropriate state.
-
Sergei Golubchik authored
Spider: SunPro only supports array declarations with constant size. Spider already has a workaround for that, inside #ifdef _MSC_VER. Enable this code also for __SUNPRO_CC Connect: Don't use anonymous union. Cast for mmap. Don't pass gcc-ish -W... options to SunPro
-
Sergei Golubchik authored
This fixes: MDEV-7693 MariaDB - mysql-test - SUITE:funcs_1 - funcs_1.is_tables_mysql is failing on TABLE_COLLATION /DATABASE_COLLATION MDEV-8487 mysql-test - main.information_schema 'xtradb' fails MDEV-8486 mysql-test - main.bootstrap fails
-
Sergei Golubchik authored
disable the test when DES doesn't work
-
Sergei Golubchik authored
* check for openssl errors in DES_ENCRYPT/DES_DECRYPT * disable the test when DES doesn't work * also disable main.func_des_encrypt
-
Sergei Golubchik authored
disable the test when crypt(3) doesn't work
-
Sergei Golubchik authored
add a test case
-
Sergei Golubchik authored
let handler::check_if_supported_inplace_alter() (that detects frm-only changes) to work for partitioned tables too.
-
Sergei Golubchik authored
clarify Alter_inplace_info::ALTER_PARTITIONED
-
Sergei Golubchik authored
use get_current_user() to distinguish user name without a hostname and a role name. move privilege checks inside mysql_show_grants() to remove duplicate get_current_user() calls
-
-
Andrew McDonnell authored
-
Sergei Golubchik authored
make storage engine RPMs require the exact server version RPM: "MariaDB = %{version}-%{release}", other plugins require simply "MariaDB", as before.
-
- 23 Apr, 2016 2 commits
-
-
Jan Lindström authored
results in ERROR 1046 (3D000) at line 13: No database selected. Use database from create table to foreign key database if nothing else is given.
-
Sergey Vojtovich authored
-
- 22 Apr, 2016 7 commits
-
-
Sergey Vojtovich authored
Added proper waiting for thread to enter required state. Also reduced amount of information dumped from processlist.
-
Daniel Bartholomew authored
-
Alexander Barkov authored
Integer comparison of INT expressions with different signess in BETWEEN is not safe. Switching to DECIMAL comparison in case if INT arguments have different signess.
-
Sergey Vojtovich authored
ha_oqgraph.so exit() was called by Judy error handler. This patch overrides Judy error handler so that it calls abort() instead of exit().
-
Sergey Vojtovich authored
There was a race condition between delayed insert thread and connection thread actually performing INSERT/REPLACE DELAYED. It was triggered by concurrent INSERT/REPLACE DELAYED and statements that flush the same table either explicitely or implicitely (like FLUSH TABLE, ALTER TABLE, ...). This race condition was caused by a gap in delayed thread shutdown logic, which allowed concurrent connection running INSERT/REPLACE DELAYED to change essential data consequently leaving table in semi-consistent state. Specifically query thread could decrease "tables_in_use" reference counter in this gap, causing delayed insert thread to shutdown without releasing auto increment and table lock. Fixed by extending condition so that delayed insert thread won't shutdown until there're locked tables. Also removed volatile qualifier from tables_in_use and stacked_inserts since they're supposed to be protected by mutexes.
-
Jan Lindström authored
try to use space->name instead.
-
Jan Lindström authored
Problem was that in-place online alter table was used on a table that had mismatch between MySQL frm file and InnoDB data dictionary. Fixed so that traditional "Copy" method is used if the MySQL frm and InnoDB data dictionary is not consistent.
-