- 09 Feb, 2016 4 commits
-
-
Sergei Golubchik authored
test case
-
Sergei Golubchik authored
-
Sergei Golubchik authored
Correct fix. Generate the query in the client charset, not in the system one.
-
Sergei Golubchik authored
reverted about half of commits as either not applicable or outright wrong
-
- 06 Feb, 2016 8 commits
-
-
Sergei Golubchik authored
cherry-pick f1daf9ce from 10.0 branch ------------------------------------- Fix build failures caused by new C runtime library - isnan, snprintf, struct timespec are now defined, attempt to redefine them leads - P_tmpdir, tzname are no more defined - lfind() and lsearch() in lf_hash.c had to be renamed, declaration conflicts with some C runtime functions with the same name declared in a header included by stdlib.h Also fix couple of annoying warnings : - remove #define NOMINMAX from config.h to avoid "redefined" compiler warnings(NOMINMAX is already in compile flags) - disable incremental linker in Debug as well (feature not used much and compiler crashes often) Also simplify package building with Wix, require Wix 3.9 or later (VS2015 is not compatible with old Wix 3.5/3.6)
-
Sergei Golubchik authored
fix dynstr_append_os_quoted() to escape single quotes correctly for a POSIX shell
-
Sergei Golubchik authored
and a trivial cleanup to avoid manually-specified lengths
-
Oleksandr Byelkin authored
Fixed adding derived tables items to outer one.
-
Sergei Golubchik authored
mysqlcheck tool can be used even if opt_systables_only is true (to upgrade views from mysql - that overrides opt_systables_only)
-
Sergei Golubchik authored
-
Sergei Golubchik authored
MDEV-9314 fatal build error: viosslfactories.c:58:5: error: dereferencing pointer to incomplete type ‘DH {aka struct dh_st} fixes for openssl that was built with -DOPENSSL_NO_DEPRECATED
-
Vicențiu-Marian Ciorbaru authored
MDEV-9433: Add va_end to sql/rpl_reporting.cc to make cppcheck happy
-
- 05 Feb, 2016 2 commits
-
-
Oleksandr Byelkin authored
MDEV-7827: Assertion `!table || (!table->read_set || bitmap_is_set(table->read_set, field_index))' failed in Field_long::val_str on EXPLAIN EXTENDED (Solution by Sergei Petrunia) It appeared that semijoin conditions was not iterated when we were updating used tables. So now they do.
-
Oleksandr Byelkin authored
added lost virtual fields update call
-
- 03 Feb, 2016 2 commits
-
-
Jan Lindström authored
-
Jan Lindström authored
MDEV-9471: Server crashes or returns an error while trying to alter partitioning on a table moved from Windows to Linux At alter table when server renames the table to temporal name, old name uses normal partioned table naming rules. However, if tables are created on Windows and then transfered to Linux and lower-case-table-names=1 we should modify the old name on rename to lower case to be able to find it from the InnoDB dictionary.
-
- 02 Feb, 2016 1 commit
-
-
Vladislav Vaintroub authored
if mysqld runs as service The bug is caused by the attempt to write to filedescriptor 2 (STDERR_FILENO), however in case of a service stderr has different fd (debugging shows fileno(stderr) is 4 after freopen, and -1 before it) Fixed definition of STDERR_FILENO for Windows to be fileno(stderr).
-
- 01 Feb, 2016 2 commits
-
-
Kristian Nielsen authored
-
Georg Richter authored
The check for UCONTEXT in cmake was somehow become broken, disabling the fallback to ucontext. This caused the non-blocking client API to not be available for non-x86 platforms, on which no hand-crafted assembler implementation of my_context is available.
-
- 29 Jan, 2016 2 commits
- 19 Jan, 2016 1 commit
-
-
Daniel Black authored
-
- 15 Jan, 2016 2 commits
-
-
Alexey Botchkov authored
fixing Windows crash.
-
Shaohua Wang authored
we can see from the hang stacktrace, srv_monitor_thread is blocked when getting log_sys::mutex, so that sync_arr_wake_threads_if_sema_free cannot get a change to break the mutex deadlock. The fix is simply removing any mutex wait in srv_monitor_thread. Patch is reviewed by Sunny over IM.
-
- 13 Jan, 2016 2 commits
-
-
Alexey Botchkov authored
updata thread_pool_server_audit test result.
-
Alexey Botchkov authored
MariaDB 5.5 built in debug gets unhappy with mutexes. Although everything is correct, some DBUG_ASSERT can happen. So this patch keeps safe_mutex silent.
-
- 12 Jan, 2016 1 commit
-
-
Alexey Botchkov authored
The audit API was seriously changed in MySQL 5.7. so we had to adapt the plugin's code to that.
-
- 11 Jan, 2016 4 commits
-
-
Bjorn Munch authored
-
Yashwant Sahu authored
Test fix for 5.5 and 5.6
-
Yashwant Sahu authored
Test Fix
-
Yashwant Sahu authored
-
- 08 Jan, 2016 1 commit
-
-
Sreeharsha Ramanavarapu authored
PROCEDURE RESULTS IN GARBAGE BYTES Issue: ----- This problem occurs under the following conditions: a) Stored procedure has a variable is declared as TEXT/BLOB. b) Data is copied into the the variable using the SELECT...INTO syntax from a TEXT/BLOB column. Data corruption can occur in such cases. SOLUTION: --------- The blob type does not allocate space for the string to be stored. Instead it contains a pointer to the source string. Since the source is deallocated immediately after the select statement, this can cause data corruption. As part of the fix for Bug #21143080, when the source was part of the table's write-set, blob would allocate the neccessary space. But this fix missed the possibility that, as in the above case, the target might be a variable. The fix will add the copy_blobs check that was removed by the earlier fix.
-
- 07 Jan, 2016 2 commits
-
-
Vladislav Vaintroub authored
If GCC or CLang compile with link time optimization (-flto), they throw an error during link , when lto sees a function (e.g mysql_real_connect) is redeclared as "external void *" in libmysql_exports.cc The fix disables -flto for generated libmysql_exports.cc
-
Ajo Robert authored
Problem Statement ========= Fix various issues when building MySQL with Visual Studio 2015. Fix: ======= - Visual Studio 2015 adds support for timespec. Add check and related code to use this and only use our replacement if timespec is not defined. - Rename lfind/lsearch to my* to avoid redefinition problems. - Set default value for TMPDIR to "" on Windows as P_tmpdir no longer exists. - using VS definition of snprintf if available - tzname are now renamed to _tzname.
-
- 04 Jan, 2016 1 commit
-
-
V S Murthy Sidagam authored
one leading zeros for the key agreement instead of potentially any number. There is about 1 in 50,000 connections to fail when using DHE cipher suites. The second problem was the case where a server would send a public value shorter than the prime value, causing about 1 in 128 client connections to fail, and also caused the yaSSL client to read off the end of memory. All client side DHE cipher suite users should update. Note: The patch is received from YaSSL people
-
- 31 Dec, 2015 1 commit
-
-
Sreeharsha Ramanavarapu authored
UNIX_TIMESTAMP(STR_TO_DATE('201506', "%Y%M" Issue: ----- When an invalid date is supplied to the UNIX_TIMESTAMP function from STR_TO_DATE, no check is performed before converting it to a timestamp value. SOLUTION: --------- Add the check_date function and only if it succeeds, proceed to the timestamp conversion. No warning will be returned for dates having zero in month/date, since partial dates are allowed. UNIX_TIMESTAMP will return only a zero for such values. The problem has been handled in 5.6+ with WL#946.
-
- 30 Dec, 2015 1 commit
-
-
Vladislav Vaintroub authored
Fix process handle leak in buildbot. GenerateConsoleCtrlEvent sent to non-existing process will add a process handle to this non-existing process to console host process conhost.exe
-
- 29 Dec, 2015 3 commits
-
-
Alexander Barkov authored
as it's needed for Cassandra in 10.0.
-
Karthik Kamath authored
COLUMNS ANALYSIS: ========= A valgrind error is reported when CREATE TABLE .. SELECT involving BIT columns triggers a column type redefinition. In general the pack_flag is set for BIT columns in 'mysql_prepare_create_table()'. However, during the above operation, redefined column types was handled after the special handling for BIT columns and thus pack_flag ended up not being set correctly triggering the valgrind error. FIX: ==== The patch fixes this problem by setting pack_flag correctly for BIT columns in the case of column type redefinition.
-
Alexander Barkov authored
-