- 12 Dec, 2014 1 commit
-
-
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 10 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
timestamp has a lower granularity on windows so it needs more time to change.
-
Sergei Golubchik authored
-
Alexey Botchkov authored
The GEOMETRY field metadata is stored in the FRM file. SRID for a spatial column now can be stored, it was added to the CREATE TABLE syntax, so the AddGeometryData() stored procedure is now possible. Script adding the required Add/DropGeometryColumn sp-s added.
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
length/dec/charset are still in LEX, because they're also used for CAST and dynamic columns. also 1. fix "MDEV-7041 COLLATION(CAST('a' AS CHAR BINARY)) returns a wrong result" 2. allow BINARY modifier in stored function RETURN clause 3. allow "COLLATION without CHARSET" in SP/SF (parameters, RETURN, DECLARE) 4. print correct variable name in error messages for stored routine parameters
-
Sergei Golubchik authored
-
Jan Lindström authored
If persistent trim is not used some OS require that we write full page.
-