- 22 Apr, 2016 3 commits
-
-
Sergey Vojtovich authored
Added proper waiting for thread to enter required state. Also reduced amount of information dumped from processlist.
-
Daniel Bartholomew authored
-
Alexander Barkov authored
Integer comparison of INT expressions with different signess in BETWEEN is not safe. Switching to DECIMAL comparison in case if INT arguments have different signess.
-
- 20 Apr, 2016 12 commits
-
-
Sergei Golubchik authored
-
Vladislav Vaintroub authored
Don't read from socket in yassl in SSL_pending(). Just return size of the buffered processed data. This is what OpenSSL is documented to do too: SSL_pending() returns the number of bytes which have been processed, buffered and are available inside ssl for immediate read.
-
Sergei Golubchik authored
-
Sergei Golubchik authored
1. the same message text for INSERT and INSERT IGNORE 2. no new warnings in UPDATE IGNORE yet (big change for 5.5) and replace a commonly used expression with a named constant
-
Sergei Golubchik authored
don't call write_bin_log() when binlog is known to be disable
-
Sergei Golubchik authored
tests it with a non-const table too
-
Sergei Golubchik authored
-
Sergey Vojtovich authored
For some reason check_cxx_compiler_flag() passes result variable name down to compiler: https://github.com/Kitware/CMake/blob/master/Modules/CheckCXXSourceCompiles.cmake#L57 But compiler doesn't permit dashes in macro name, like in -DHAVE_CXX_-fimplicit-templates. Workarounded by renaming HAVE_CXX_-fimplicit-templates to HAVE_CXX_IMPLICIT_TEMPLAES.
-
Elena Stepanova authored
Debian packages create empty maria/t and maria/r directories, and MTR cannot run maria.* tests
-
Alexander Barkov authored
The patch for MDEV-9521 earlier fixed the problem reported in MDEV-9413. Only adding tests.
-
Alexander Barkov authored
MDEV-9662 Assertion `precision || !scale' failed in my_decimal_precision_to_length_no_truncation(uint, uint8, bool) The patch for MDEV-9745 earlier fixed the problem reported in MDEV-9662 as well. Only adding tests.
-
Alexander Barkov authored
This is a backport of the patch for MDEV-9653 (fixed earlier in 10.1.13). The code in Item_func_case::fix_length_and_dec() did not calculate max_length and decimals properly. In case of any numeric result (DECIMAL, REAL, INT) a generic method Item_func_case::agg_num_lengths() was called, which could erroneously result into a DECIMAL item with max_length==0 and decimals==0, so the constructor of Field_new_decimals tried to create a field of DECIMAL(0,0) type, which caused a crash. Unlike Item_func_case, the code responsible for merging attributes in Item_func_coalesce::fix_length_and_dec() works fine: it has specific execution branches for all distinct numeric types and correctly creates a DECIMAL(1,0) column instead of DECIMAL(0,0) for the same set of arguments. The fix does the following: - Moves the attribute merging code from Item_func_coalesce::fix_length_and_dec() to a new method Item_func_hybrid_result_type::fix_attributes() - Removes the wrong code from Item_func_case::fix_length_and_dec() and reuses fix_attributes() in both Item_func_coalesce::fix_length_and_dec() and Item_func_case::fix_length_and_dec() - Fixes count_real_length() and count_decimal_length() to get an array of Items as an argument, instead of using Item::args directly. This is needed for Item_func_case::fix_length_and_dec(). - Moves methods Item_func::count_xxx_length() from "public" to "protected". - Removes Item_func_case::agg_num_length(), as it's not used any more. - Additionally removes Item_func_case::agg_str_length(), as it also was not used (dead code).
-
- 19 Apr, 2016 11 commits
-
-
Sergey Vojtovich authored
SHOW PROCESSLIST output can be affected by not completed concurrent queries. Removed this affected SHOW PROCESSLIST since it doesn't seem to affect original problem.
-
Sergei Golubchik authored
-
Sergei Golubchik authored
On SET PASSWORD if the plugin is mysql_native_password or mysql_old_password, do reset plugin and auth_str fields.
-
Sergei Golubchik authored
add a workaround for gold
-
Sergei Golubchik authored
1. don't exit if setupterm() failed 2. don't use vidattr() if setupterm() failed
-
Sergei Golubchik authored
MDEV-9707 MAX(timestamp(6) column) in correlated sub-query returns non-existent row data in original table special treatment for temporal values in create_tmp_field_from_item(). old code only did it when result_type() was STRING_RESULT, but Item_cache_temporal::result_type() is INT_RESULT
-
Sergei Golubchik authored
don't put command-line arguments into opt_ignore_db_dirs - it is supposed to contain a malloc()'ed accumulated list of all ignored dirs
-
Sergei Golubchik authored
fix typelib to match defines: #define TC_HEURISTIC_RECOVER_COMMIT 1 #define TC_HEURISTIC_RECOVER_ROLLBACK 2
-
Sergei Golubchik authored
s/Feber/Februar/
-
Sergei Golubchik authored
-
Sergey Vojtovich authored
Fixed wait condition in test case to actually wait for get_lock() completion (not for lock acquisition as it was before). This removes sporadic extra row in subsequent processlist queries.
-
- 18 Apr, 2016 2 commits
-
-
Alexander Barkov authored
Item_func_ifnull::date_op() and Item_func_coalesce::date_op() could erroneously return 0000-00-00 instead of NULL when get_date() was called with the TIME_FUZZY_DATES flag, e.g. from LEAST().
-
Sergei Golubchik authored
-
- 01 Apr, 2016 1 commit
-
-
Alexander Barkov authored
-
- 18 Mar, 2016 1 commit
-
-
Sergei Golubchik authored
5.5 part of the fix
-
- 17 Mar, 2016 2 commits
-
-
Sergei Golubchik authored
don't allocate all the stack, leave some stack for function calls. To test I added the following line: alloca_size = available_stack_size() - X at X=4096 or less mysqld crashed, at 8192 mtr test passed.
-
Sergei Golubchik authored
remove erroneous free() call
-
- 26 Feb, 2016 3 commits
-
-
Yashwant Sahu authored
-
Venkatesh Duggirala authored
The main.merge test case was failing when tested using row based binlog format. While analyzing the issue it was found the following issues: a) The server is calling binlog related code even when a statement will not be binlogged; b) The child table list was not present into table structure by the time to generate the create table statement; c) The tables in the child table list will not be opened yet when generating table create info using row based replication; d) CREATE TABLE LIKE TEMP_TABLE does not preserve original table storage engine when using row based replication; This patch addressed all above issues. @ sql/sql_class.h Added a function to determine if the binary log is disabled to the current session. This is related with issue (a) above. @ sql/sql_table.cc Added code to skip binary logging related code if the statement will not be binlogged. This is related with issue (a) above. Added code to add the children to the query list of the table that will have its CREATE TABLE generated. This is related with issue (b) above. Added code to force the storage engine to be generated into the CREATE TABLE. This is related with issue (d) above. @ storage/myisammrg/ha_myisammrg.cc Added a test to skip a table getting info about a child table if the child table is not opened. This is related to issue (c) above.
-
Elena Stepanova authored
The test created a file in location relative to the datadir (a few levels above datadir). The file was created by MariaDB server (via INTO OUTFILE), and later removed by mysqltest (via remove_file). The problem is that when the vardir is a symlink, MariaDB server and mysqltest can resolve such paths differently. MariaDB server would return back to where the symlink is located, while mysqltest would go above the real directory. For example, if the test is run with --mem, and /bld/5.5/mysql-test/var points at /dev/shm/var_auto_X, then SELECT INTO OUTFILE created a file in /bld/5.5/mysql-test , but remove_file would look for it in /dev/shm/. The test is re-written so that all paths are resolved in perl, the logic itself hasn't changed.
-
- 23 Feb, 2016 3 commits
-
-
Arun Kuruvila authored
No commit message
-
Arun Kuruvila authored
No commit message
-
Arun Kuruvila authored
No commit message
-
- 19 Feb, 2016 1 commit
-
-
Ramil Kalimullin authored
-
- 17 Feb, 2016 1 commit
-
-
Sergei Golubchik authored
Debian tests are run in 2017, update the test to use 2027 as a "future".
-