- 06 Dec, 2014 2 commits
-
-
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 25 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.
-
Sergei Golubchik authored
thd_specifics service
-
Sergei Golubchik authored
when many plugins are active, all must approve the password
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
don't do it in the parser, one should not make run-time decisions (like, checking thd->variables.old_passwords variable) during parsing.
-
Sergei Golubchik authored
* indeed, "username IDENTIFIED BY PASSWORD hash" is the same as "username IDENTIFIED VIA mysql_native_password USING hash" * LEX_USER::password can now be used for plain-text passwords
-
Sergei Golubchik authored
REQUIRE and MAX_QUERIES_PER_HOUR can not possibly apply to a role
-
Sergei Golubchik authored
-
Sergei Golubchik authored
* remove no-op check_password_policy() and references to it * add 'static' to functions that need it * remove unused function check_acl_user()
-
Sergei Golubchik authored
username IDENTIFIED BY PASSWORD xxx username IDENTIFIED VIA mysql_native_password USING xxx etc also check for valid strlen(xxx)
-
Sergei Golubchik authored
-