- 21 Jun, 2016 4 commits
-
-
Sergey Vojtovich authored
Fixed memory leak when mroonga fails to open index files. Memory leak was detected by valgrind when running mroonga/storage.repair_table_no_index_file.
-
Sergey Vojtovich authored
metadata_lock_info plugin called MDL_context::find_ticket() to obtain lock duration, which in turn iterates foreign thread private lists. These lists can be updated by owner thread without protection. Fixed by iterating threads (instead of MDL locks and tickets) and obtaining data through APC. Also fixed mdl_iterate_lock() to initialize iterator under prlock protection.
-
Sergey Vojtovich authored
"result" may be uninitialized when json_set_item() is called directly.
-
Jan Lindström authored
Analysis: In storage/innobase/row/row0merge.cc InnoDB calls thd_progress_init, thd_progress_report and thd_progress_end functions. These seem to cause crash on solaris 10 64-bit. Fix: Disable progress reporting on UNIV_SOLARIS until the actual issue causing the crash is fixed. The actual bug is not on InnoDB code base.
-
- 20 Jun, 2016 3 commits
-
-
Jan Lindström authored
commit 4165961d Author: Sergei Golubchik <serg@mariadb.org> Fri Oct 16 02:07:06 2015 Committer: Sergei Golubchik <serg@mariadb.org> Mon Nov 16 08:55:55 2015 disable innodb on sol10-64 because buildbot config invokes BUILD/compile-solaris-amd64 with the --extra-args=--without-plugin-innodb argument, but BUILD/compile-solaris-amd64 doesn't take arguments and doesn't invoke configure.pl, so this extra-args is lost.
-
Alexander Barkov authored
The problem was that the loop in get_func_mm_tree() accessed improperly initialized instances of String, which resided in the bzero'ed part of the in_vector::base array. Strings in in_vector::base are originally initialized in Item_func_in::fix_length_and_dec(), in in_vector::in_vector() using sql_calloc, rather than using a String constructor, so their str_charset members are originally equal to NULL. Strings in in_vector::base are later initialized to good values in Item_func_in::fix_length_and_dec(), using array->set(), in this code: uint j=0; for (uint i=1 ; i < arg_count ; i++) { array->set(j,args[i]); if (!args[i]->null_value) // Skip NULL values j++; else have_null= 1; } if ((array->used_count= j)) array->sort(); NULLs are not taken into account, so at the end array->used_count can be smaller than array->count. This patch fixes the loop in opt_range.cc, in get_func_mm_tree(), to access only properly initialized elements in in_vector::base, preventing access to its bzero'ed non-initialized tail.
-
Jan Lindström authored
item when drop table indexes or drop table; Problem was that table and index statistics is removed from persistent tables but not from memory cache. Added functions to remove table and index statistics from memory cache.
-
- 18 Jun, 2016 1 commit
-
-
Alexey Botchkov authored
test failed on Windows so fixed by testing slightly differently.
-
- 16 Jun, 2016 3 commits
-
-
Alexander Barkov authored
The problem was earlier fixed by the patch for MDEV-9521. Adding tests only.
-
Alexey Botchkov authored
Changes to the mysql_install_db scripts so they don't repeat arguments twice.
-
Alexey Botchkov authored
Check for same directories in the list added.
-
- 08 Jun, 2016 2 commits
-
-
Kristian Nielsen authored
-
Kristian Nielsen authored
The check inserts a DWARF directive to tell stack unwinding that the bottom of the (co-routine) stack has been reached. Without this, stack traces may attempt to continue past the bottom of the stack. The GCC version check was incorrect, and failed to trigger for GCC version 5.[0123].
-
- 28 May, 2016 1 commit
-
-
Elena Stepanova authored
Altering a comment or a default field's value needs "NO_LOCK", not EXCLUSIVE - storage_engine test result updated
-
- 27 May, 2016 2 commits
-
-
Sergey Vojtovich authored
Update sponsors
-
iangilfillan authored
-
- 24 May, 2016 1 commit
-
-
Vladislav Vaintroub authored
MDEV-10118 : do not suggest upgrade from MySQL 5.7 to MariaDB 10.x in the installer. Do not lauch upgrade wizard after installation
-
- 30 Apr, 2016 1 commit
-
-
Daniel Bartholomew authored
-
- 28 Apr, 2016 2 commits
-
-
Vladislav Vaintroub authored
-
Sergey Vojtovich authored
Clang warns on this code because it is memsetting over a vtable contained in a struct in the best_positions array. The diagnostic text is: mariadb/sql/sql_select.cc:24462:10: error: destination for this 'memset' call is a pointer to class containing a dynamic class 'Duplicate_weedout_picker'; vtable pointer will be overwritten [-Werror,-Wdynamic-class-memaccess] memset(best_positions, 0, sizeof(POSITION) * (table_count + 1)); ~~~~~~ ^ Patch contributed by David Gow.
-
- 27 Apr, 2016 2 commits
-
-
Vladislav Vaintroub authored
as it fails on new builders. msxml6 is found on all Windows we support, thus there is no reason to search for it.
-
Sergei Golubchik authored
-
- 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 1 commit
-
-
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
-