- 26 Dec, 2014 1 commit
-
-
Sergey Vojtovich authored
getopt value pointer of "debug" variable was pointing to incorrect address: &global_system_variables. Runtime statements like SHOW VARIABLES materialize value from DBUG structures on demand, so they never access getopt value pointer. But mysqld --help --verbose loaded this value from &global_system_variables. Remove "debug" variable from mysqld --help --verbose output by setting value pointer to NULL.
-
- 24 Dec, 2014 1 commit
-
-
Alexey Botchkov authored
The srid variable was used uninitialised when the field wasn't GIS. Only problem is that it makes the debugger unhappy. Still added the initialization.
-
- 23 Dec, 2014 3 commits
-
-
Nirbhay Choubey authored
Addendum : Renamed plugin .so file.
-
Jonas Oreland authored
Implement --semi-sync-master-wait-point=AFTER_SYNC|AFTER_COMMIT. When AFTER_SYNC, the semi-sync wait will be done earlier, before the storage engine commit rather than after. This means that a transaction will not be visible on the master until at least one slave has received it.
-
Jonas Oreland authored
Make the binlog dump threads not need to take LOCK_log while sending binlog events to slave. Instead, a new LOCK_binlog_end_pos is used just to coordinate tracking the current end-of-log. This is a pre-requisite for MDEV-162, "Enhanced semisync replication". It should also help reduce the contention on LOCK_log on a busy master. Also does some much-needed refactoring/cleanup of the related code in the binlog dump thread.
-
- 16 Dec, 2014 1 commit
-
-
Alexander Barkov authored
Adding "--source include/have_udf.inc" and a few "--replace" commands.
-
- 15 Dec, 2014 1 commit
-
-
Alexander Barkov authored
MDEV-7282 SP: CREATE OR REPLACE, CREATE IF NOT EXISTS
-
- 12 Dec, 2014 2 commits
-
-
Nirbhay Choubey authored
-
Elena Stepanova authored
-
- 10 Dec, 2014 8 commits
-
-
Alexander Barkov authored
where the former is enough.
-
Alexander Barkov authored
-
Alexander Barkov authored
An additional debug test, made by Sriram Patil while working on "CREATE VIEW IF NOT EXISTS".
-
Alexander Barkov authored
Forgot to do "git add" for a number of files in the previous commit.
-
Alexander Barkov authored
-
Alexander Barkov authored
A clean-up: require CREATE+DROP privileges for "CREATE OR REPLACE DATABASE", instead of just CREATE privilege.
-
Alexander Barkov authored
A test clean-up: The "SHOW DATABASES" queries now use "LIKE 'db%'", to display only the databases created during this test, thus exclude the system databases, as some of them can be optional (e.g. performance_schema).
-
Alexander Barkov authored
-
- 08 Dec, 2014 1 commit
-
-
Alexander Barkov authored
-
- 06 Dec, 2014 7 commits
-
-
Sergei Petrunia authored
-
Sergei Petrunia authored
-
Sergei Petrunia authored
- Single_line_formatting_helper should not accidentally exit the DISABLED state. No JSON construct should be able to move the Single_line_formatting_helper from DISABLED state.
-
Sergei Petrunia authored
-
Kristian Nielsen authored
Implement a new mode for parallel replication. In this mode, all transactions are optimistically attempted applied in parallel. In case of conflicts, the offending transaction is rolled back and retried later non-parallel. This is an early-release patch to facilitate testing, more changes to user interface / options will be expected. The new mode is not enabled by default.
-
Sergei Petrunia authored
Switch EXPLAIN JSON from using subselect_engine::get_identifier() to the number from Item_subselect::unit. Remove subselect_union_engine::get_identifier() because it was added only for EXPLAIN JSON code.
-
Sergei Petrunia authored
-
- 05 Dec, 2014 13 commits
-
-
Sergei Petrunia authored
-
Sergei Petrunia authored
-
Sergey Vojtovich authored
Join_plan_state performs out-of-API initialization of DYNAMIC_ARRAY. This is done to postpone actual array initialization till first use, whilst retaining the right to call delete_dynamic(). Since delete_dynamic() now checks DYNAMIC_ARRAY::malloc_flags it should be initialized it as well.
-
Monty authored
- Changed 0x%lx -> %p array.c: - Static (preallocated) buffer can now be anywhere my_sys.h - Define MY_INIT_BUFFER_USED sql_delete.cc & sql_lex.cc - Use memroot when allocating classes (avoids call to current_thd) sql_explain.h: - Use preallocated buffers sql_explain.cc: - Use preallocated buffers and memroot sql_select.cc: - Use multi_alloc_root() instead of many alloc_root() - Update calls to Explain
-
Sergey Vojtovich authored
Preallocate dynamic array and bitmap on mem_root to avoid expensive malloc. This reduces number of allocations from 39 to 31 per OLTP RO transaction.
-
Sergey Vojtovich authored
Preallocate dynamic array on THD mem_root to avoid expensive malloc.
-
Monty authored
so that a simple query with one join would not have to call my_malloc. - Allow lower limites for query_prealloc_size for testing. - Fixed wrong initialization of trans_alloc_block_size
-
Sergey Vojtovich authored
commit 85fd3d901311688e18ffce92ffc78129e5625791 Author: Monty <monty@mariadb.org> Date: Fri Aug 29 14:07:43 2014 +0300 my_alloc.c - Changed 0x%lx -> %p array.c: - Static (preallocated) buffer can now be anywhere my_sys.h - Define MY_INIT_BUFFER_USED sql_delete.cc & sql_lex.cc - Use memroot when allocating classes (avoids call to current_thd) sql_explain.h: - Use preallocated buffers sql_explain.cc: - Use preallocated buffers and memroot sql_select.cc: - Use multi_alloc_root() instead of many alloc_root() - Update calls to Explain
-
Sergey Vojtovich authored
All callers of open_cached_file() use 2 characters prefix. Allocating memory for such short string is an overkill. Store it on IO_CACHE structure instead. All callers of open_cached_file() use mysql_tmpdir as dir. No need to allocate memory for it since it is constant and available till server shutdown. This reduces number of allocations from 31 to 27 per OLTP RO transaction.
-
Sergey Vojtovich authored
Remove call to deprecated set_thread_state. It is noop anyway, but generates function call independently of performance schema state. According to perf this saves ~0.2% of execution time.
-
Sergey Vojtovich authored
Preallocate locks on THD mem_root to avoid expensive malloc.
-
Sergey Vojtovich authored
Preallocate locks on THD mem_root to avoid expensive malloc.
-
Sergey Vojtovich authored
Let some atomic counters use relaxed memory order.
-
- 04 Dec, 2014 2 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-