- 02 Jun, 2015 10 commits
-
-
Sergei Golubchik authored
* remove unused (and not implemented) WRITE_NET type * remove cast in my_b_write() macro. my_b_* macros are function-like, casts are responsibility of the caller * replace hackish _my_b_write(info,0,0) with the explicit my_b_flush_io_cache() in my_b_write_byte() * remove unused my_b_fill_cache() * replace pbool -> my_bool * make internal IO_CACHE functions static * reformat comments, correct typos, remove obsolete comments (ISAM) * assert valid cache type in init_functions() * use IO_ROUND_DN() macro where appropriate * remove unused DBUG_EXECUTE_IF in _my_b_cache_write() * remove unnecessary __attribute__((unused)) * fix goto error in parse_file.cc * remove redundant reinit_io_cache() in uniques.cc * don't do reinit_io_cache() if the cache was not initialized in ma_check.c * extract duplicate functionality from various _my_b_*_read functions into a common wrapper. Same for _my_b_*_write * create _my_b_cache_write_r instead of having if's in _my_b_cache_write (similar to existing _my_b_cache_read and _my_b_cache_read_r) * don't call mysql_file_write() from my_b_flush_io_cache(), call info->write_function() instead
-
Sergei Golubchik authored
that is, don't create a "temporary" IO_CACHE with file==-1 and manually swap it later to the valid file descriptor.
-
Sergei Golubchik authored
remove some 14-year old code that added support for LOAD DATA replication to IO_CACHE: * three callbacks, of which only two were actually used and that were only needed for LOAD DATA replication but were tested in every IO_CACHE instance * an additional opaque void * argument in IO_CACHE, also only used for LOAD DATA replication, but present everywhere * the code to close IO_CACHE prematurely in LOAD DATA to have these callbacks called in the correct order and a long comment explaining what will happen if IO_CACHE is not closed prematurely * a variable to track whether IO_CACHE was closed prematurely (to avoid double-closing it)
-
Sergei Golubchik authored
perfschema after 5.6 merge depends on sql_yacc.h
-
Sergei Golubchik authored
-
Sergey Vojtovich authored
To make st_select_lex::master_unit() inlinable: - moved it's definition to sql_lex.h - removed base class virtual master_unit() declaration since this method is specific to st_select_lex Overhead change: st_select_lex::master_unit() 0.17% -> out of radar execute_sqlcom_select() 0.13% -> 0.12% JOIN::save_explain_data_intern() 0.27% -> 0.23% JOIN::optimize_inner() 0.76% -> 0.72% JOIN::exec_inner() 0.30% -> 0.24% JOIN::prepare() 0.30% -> 0.29% JOIN::optimize() 0.05% -> 0.05%
-
Sergey Vojtovich authored
Moved THD::set_command() definition to sql_class.h so that it can be inlined. Overhead change: THD::set_command 0.05% -> out of radar
-
Sergey Vojtovich authored
Moved THD::set_query() definition to sql_class.h so that it can be inlined. Overhead change: THD::set_query 0.07% -> out of radar
-
Alexander Barkov authored
MDEV-8257 Erroneous "Impossible where" when mixing decimal comparison and LIKE
-
Sergei Golubchik authored
-
- 01 Jun, 2015 7 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
ulong is not portable - different width on different architectures
-
Sergei Golubchik authored
version_ssl_library should show the version of openssl library that is being used, not the one that server was compiled with.
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
- 31 May, 2015 2 commits
-
-
Jan Lindström authored
-
Jan Lindström authored
-
- 30 May, 2015 5 commits
-
-
Jan Lindström authored
-
Sergei Golubchik authored
don't run this test on 1.0.1c
-
Vicențiu Ciorbaru authored
Use quote_for_equal to correctly escape characters.
-
Vicențiu Ciorbaru authored
mysqldump now attempts to make use of the INFORMATION_SCHEMA tables. If the table name is not found with a case sensitive search, it fallbacks to a case insensitive search.
-
Sergei Golubchik authored
-
- 29 May, 2015 4 commits
-
-
Oleksandr Byelkin authored
MDEV-8241: Debug build on Windows is broken: error LNK2019: unresolved external symbol pthread_detach referenced in function ma_checkpoint_init pthread_detach() replaced with pthread_detach_this_thread() pthread_detach_this_thread() definition fixed
-
Sergei Golubchik authored
(yes, we no longer add all variables to sys_vars suite!)
-
Nirbhay Choubey authored
* mysqld_safe: Since wsrep_on variable is mandatory in 10.1, skip wsrep position recovery if its OFF. * mysqld: Remove "-wsrep" from server version * mysqld: Remove wsrep patch version from @@version_comment * mysqld: Introduce @@wsrep_patch_version
-
Oleksandr Byelkin authored
Do not reset timer inside stored procedures and functions.
-
- 28 May, 2015 3 commits
-
-
Sergei Golubchik authored
that was apparently lost in 20c23048: commit 20c23048 Author: Jan Lindström <jan.lindstrom@mariadb.com> Date: Sun May 17 14:14:16 2015 +0300 MDEV-8164: Server crashes in pfs_mutex_enter_func after fil_crypt_is_closing This also reverts 8635c4b4: commit 8635c4b4 Author: Jan Lindström <jan.lindstrom@mariadb.com> Date: Thu May 21 11:02:03 2015 +0300 Fix test failure.
-
Alexander Barkov authored
as it's not used by the other Item_bool_func2 descendands.
-
Jan Lindström authored
Forgot that echo will also expand variables and path might be different.
-
- 27 May, 2015 6 commits
-
-
Alexander Barkov authored
-
Alexander Barkov authored
Step #8: Adding get_mm_tree() in Item_func, Item_func_between, Item_func_in, Item_equal. This removes one virtual call item->type() in queries like: SELECT * FROM t1 WHERE c BETWEEN const1 AND const2; SELECT * FROM t1 WHERE c>const; SELECT * FROM t1 WHERE c IN (const_list);
-
Jan Lindström authored
Analysis: Problem was that encryption was skipped. Fixed by making sure that tables with ENCRYPTED=YES are encrypted.
-
Jan Lindström authored
Analysis: Problem was that used compression method needs to be stored to the page. Fixed by storing compression method after key_version to the page.
-
Alexander Barkov authored
Step #7 (mostly preparatory for the next step #8): Splitting the function get_mm_parts() into a virtual method in Item. This changes a virtual call for item->type() into a virtual call for item->get_mm_tree(), but also *removes* one virtual call Item_cond::functype(), which used to distinguish between COND_AND_FUNC vs COND_OR_FUNC.
-
Jan Lindström authored
-
- 26 May, 2015 3 commits
-
-
Kristian Nielsen authored
-
Jan Lindström authored
MDEV-8213: encryption.encryption_force, encryption.encrypt_and_grep fail with valgrind warnings (Invalid read) Analysis: Problem was that code used old pointer. Fixed by using correct pointer.
-
Kristian Nielsen authored
-